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.
Nice. Similar to mine, but slightly more efficient. Wise use of the for loop. I chose a while loop, which required one more variable than is necessary with the for loop.
And your solution just looks cleaner than mine. Less clutter, simpler variable names. Nice work.
very clever. never thought of this.
Read this for more info
For min/max, it's probably not possible to go below O(n), I guess?
This is not tested in fixed tests, and only sometimes appear in the random tests.
thanks! Though I just wanted to speed run some easy kata so my solution is highly unoriginal
Lmao I just saw your solution; good one.
Interesting approach. Not best practice but damn interesting, reminds me of bubble sorting! Very clever though.
reminds me of bubble sort
r
This is an interesting solution.
this reminded me of programing with C. Good job
interesting solution!
This comment is hidden because it contains spoiler information about the solution
Why is this long winded block of code best practice ?
Loading more items...