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.
So, my solution fell within the realm of O(n). I actually never new that this was a thing. I should have spent the extra few seconds to google some more information rather then fall back to what I knew in my head. I guess there is some refactoring that can always be done.
Thanks for the clever and quick solution!