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.
eventually defaulted to this solution as well for better efficiency. i think this is better than a similar version that was rated better without the set.
I don't think running two if-else statements through the entire loop is a good idea... It will slow down the process.
Edit: wait wait! Your solution is excellent in case the rogue element is near the beginning. Great implementation. Sorry for being quick to judge!
Woah
Good Lord, what do we have here!