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
Very nice, actually, in this case, the
self
is redundant, you can provide but it is not neededJust learning spread syntax now and how it is used to process arrays in to another. Very cool. Well done...
Really nice kata, it's great practice for my Linear Algebra class!
Though I feel like if a test fails, it would be nice to give an example of a solution. I spend about 30 minutes on a single test cause I didn't know what to return.
Fixed by fork above
approved
Updated the sample tests for python here. This fixes the issue mentioned here
Some tests output strange results where input is greater then output. Contradiction to description.
Very good! Thanks to author!!!
Funny Kata! Thanks to author!
Python sample test
I was today years old when I learned about fall through!
Pretty challenging and tricky kata, keep it up.
Interesting use case for Array.reduce!
Loading more items...