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.
This comment is hidden because it contains spoiler information about the solution
anybody that knows more than print("Hello World!") finds this code readable.
actual solution that should be voted best practice. this site really needs a downvote button to downvote shit answers
lmao no where close to being "best practice"
wrong in this case. all elements are identical except one. there aren't a lot of swaps going on. what are you talking about.
code wars is ruined by the 13 to 20 demographic
non extensible code. not best pratice.
when client demands "ok now extend the function to also tell me all the odds at nth row"
this function is worthless
runs the fastest when benchmarking
best solution
runs the second fastest in benchmarking.
lol
very cool
clever, but not readable, extensible or maintainable