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
Pro tip: don't waste your energy trying to up the quality of codewars posts
Thanks :-)
wtf dude...
this site might be inspirational, but it's rarely a good idea to blindly copy code from 99% of the solutions.
Regardless of it being marked as "best practice" or whatnot.
https://xkcd.com/1691/
Sorry, but you're wrong. I win.
ok read this https://stackify.com/premature-optimization-evil/
you're kidding, right
thx :)
Initially I misinterpreted the description and went in a totally wrong direction. A simple example picture of a sliced cube would have helped me alot!
I see the problem. What do you think of my updated solution?
I suppose the men died before deleting all of the uneven numbers?
If that is true, then the description could be made a little clearer. "Then they removed..." (didn't really happen)
Edit: After some thinking, I finally understand the Kata. My previous solution is completely wrong, but the tests don't prove it :-)