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 did this too! It's swapping the rightmost occurence of 01 for a 10 (i.e. checking for the lowest 1 with an empty spot to its left, and pushing it into the spot). It adds a 0 so that the first 1 of numbers starting with 1 can be found.
Then, it pushes all the ones that occur after the swap to the end of the number (by just ordering that ending section).
thanks. my bad.
I think we just got lucky that the test cases didn't cover uppercase vowels.
Unless I am missing something
yeah i understood that n is day after facing wrong answer but still didn't knew substracting from height can do the trick
oh i see, i used same logic to do it quickly but i didnt knew i had to subtract down speed once from height before doing this
the first thought was to solve it in this way
Wholy cow! My first attempt seems like the clumsiest one compared to this solution. Still a long way to go but loving the chance to understand better practices.
Winner solution here in the terms of performance.
Google search
can someone explain how this works exactly??
nice
Great! Thank you, mate. Today you are mine coding teacher :)
hello
facepalm
Loading more items...