Ad
  • Custom User Avatar

    About that test, the input is 187863002809 in the index 10 you have the last 0, if you move one of the others, you'll get this 18786302809 that's obviously greater than 18786300289, the test with 209917 as input is like this: testing(209917, [29917, 0, 1]); both in sample tests and attemp tests. Not a kata issue.

    If you see another thing in Sample tests, backup your code and click Reset.

    You should check the posts already here too: https://www.codewars.com/kata/573992c724fc289553000e95/discuss#63298f40f18e5d1c1abfc157 before creating your own.