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
This comment is hidden because it contains spoiler information about the solution
I guess if it's solid enough it will always work without any problem, you see you used abs() because some tests returned negative value and some worked perfectly, but in maths it should work for all cases I guess.
lol :D pun police!
did I just write the single best one liner in a kata?? cant believe myself
i feel so silly
This comment is hidden because it contains spoiler information about the solution
It is called copy-pasta solution to test
This comment is hidden because it contains spoiler information about the solution
Don't need the square brackets.
Why two lists when you can use sum one one like in top solution https://www.codewars.com/kata/reviews/5dea646510dfae0001a47805/groups/5deabbb177902f000196d464
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
math is power
I don't see a * on line 3 between old and 2
and
I don't see a * between 2 and old on the last line.
Loading more items...