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.
it is enough to add a break statement under the if statement
my teacher taught me this way but it's been a while i forget it
you can't just implement this in O^2 complexity!!!!
CPU go brrrrrrr
It's so cool
This comment is hidden because it contains spoiler information about the solution
I like it... what keeps the while-body statement from capitalizing the whole -_ delimitted word, and not just the first character? I would think it would return eye_AM_A_HERO instead of eye_Am_A_Hero. No?
You just have to say its an memory optimized solution and not a time optimized :)
It is the best what i have seen, i THought about something like this because i thought find,filter,sort wouldn'nt work
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
It is not
This comment is hidden because it contains spoiler information about the solution
Damn! I tried that once with similar approach with similar structure, but for some unknown reason the test threw me a Time Out Error... As a result, I had to use the Dictionary appraoch.
It is a great feeling every time you solve a kata, but even greater when your answer looks like the most voted!
my face reading this be like: [^_-]
Loading more items...