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.
Ohh i see a number should bigger than input just a 1 step
A big thanks :)
That algorithm isn't right, you can easily see it in those tests.
6136 (the expected value) is less than 6361 (the value your function returned) and is greater than 3661 (the input value).
i don't know what happend when i try to attempt my code it's show error like this
I have check the number on next one and if there bigger than the front one
then i swap numbers and look for next before digit i already swap.
Did i miss understand something if someone understand please give me advice.
*** PS.Javascript ***