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.
For min/max, it's probably not possible to go below O(n), I guess?
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 ?
Apparently I was wrong, I changed names, I did not think you could use a keyword as the name of a function, that could lead to bugs or flaws I assume
For correct indentation and format you have to use ` . Three times at beginning and three times at ending.
Loading more items...