Ad
  • Custom User Avatar

    From the description:

    If two numbers in the argument array have the same number of digits, return the first one in the array.

    10760 = 5 digits,
    17204 = 5 digits,
    95013 = 5 digits,
    6474 = 4 digits,
    42 = 2 digits

    So, the max amount of digits is 5. Since there are multiple that have length 5, take the one that comes up first. And that is 10760.