Hi,
Your code works incorrectly for inputs like 123\n and 09876\n. Your solution has a bug, it is not a kata issue.
123\n
09876\n
Loading collection data...
Hi,
Your code works incorrectly for inputs like
123\n
and09876\n
. Your solution has a bug, it is not a kata issue.