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 think this solution is actually smart, good work
Not best practice. This can be done with time O(n) and space O(n) using a dictionary.
This is very slow since it is using two for loops making it at worst O(n^2).
Nice.
Because brute force O(n^2) is better practice than a hashed O(n) solution