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.
I assume your code already finds a solution? I don't know what approach you took but you can memoize any found solution and let your code continue search, so if it does find any other solution afterwards it throws or if it runs out of options it either returns the only solution or throws if none was found.
First one has two solutions, which should result in error, so the problem is in your code.