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.
This is so slow. Simple foreach loop is more than 10 times faster.
You have to do 2 iterations here. With loop you iterate only once.
This comment is hidden because it contains spoiler information about the solution
IMHO condition in while loop is pointless because you break after condition in loop is met. You might as well put while(true).
OR put condition in while() and make different set of instructions in loop without break.
Thank You
This comment is hidden because it contains spoiler information about the solution
Definitely NOT 6kyu