I'm using the function Argmax to get the string with max size in an array of Strings, and when the string contains a repetition of a single character, the result get weird.
For example:
x = ["ABC", "AAAA"]
argmax(x) # 1
# The return of argmax is 1, is that correct ?
x = ["ABC", "AAAABBBBCCCCDDDD"]
argmax(x) # = 1
x = ["ABC", "AAAABBBBCCCCDDDD", "ABCD"]
argmax(x) # = 3