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.
Maybe a little bit similar... But this was the condition I was asked about during the technical interview, so I decided to add it. It is a bit similar in terms of the condition, but the logic of returning the result and finding it is slightly different
You're right, thanks for the correction
What is wrong with it?