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.
And now I know about the sorted() function...I love it.
Is this bad practice?
It feels like staring at the code a GPU driver.
Clever.
This comment is hidden because it contains spoiler information about the solution
Same here. And I have been writing JS for more than half a decade now..
Thanks! :)
This comment is hidden because it contains spoiler information about the solution
Thats just awesome, great way to learn programming.
If only my teacher would implement this kind of teaching when i was in school i wouldnt have problems to pass to the next year.
Props for you!
Certainly not coincidence, he is one of my students ;)
Huh thats interesting,im curious if its coincidente or what?
Compare your solution to @cerbin:
Yours
@cerbin
Try comparing this solution with https://www.codewars.com/kata/reviews/57a3503a7cfe50ebcb00014e/groups/58d061753f25db3d9600003f which is about 30% faster, although it still requires some attention to integer type choices.
And I thought I was the one going for the overkill with a recursive approach...
Nice usage of C++ though :)