Ad
  • Custom User Avatar

    That's not what you have to do.

    return it with its digits in descending order. Essentially, rearrange the digits to create the highest possible number.

    What you did there is reversing the digits.