Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
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 this18786302809
that's obviously greater than18786300289
, the test with209917
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.
This comment is hidden because it contains spoiler information about the solution