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.
Most test cases require a single swap between ONLY two digits to find the answer e.g. 123456 --> 123465
I would suggest adding at least one base test case for this requirement e.g. 152 --> 215 (as opposed to 251, which would be the answer for an algorithm with a single digit swap)