Ad
  • Custom User Avatar

    This tripped me up too. While it's true the initial number was considered in the description, I also didn't interpret it that way. No worries.

  • Default User Avatar

    Look at the example in the description:

    56789 -> 67895 -> 68957 -> 68579 -> 68597 and you must return the greatest: 68957.

    You clearly see that the initial number 56789 is considered.