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.
It works well, but it must be refactored as it's really difficult to follow the logic let alone maintain this solution.
I really liked your use of reduce. I'm happy I looked it up. Such a handy little function
checks for negative numbers
This comment is hidden because it contains spoiler information about the solution
Yo this is beautiful
This comment is hidden because it contains spoiler information about the solution
Excellent
This is a thing of beauty. I've grown as a programmer seeing this brilliant algorithm.
thanks for the explanation!
This comment is hidden because it contains spoiler information about the solution
It's interesting, but hard to understand with a single look.
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 mean it works as you say. Plus, this is common behavior. C and C++ return the same. You'd be adding extra code to handle something that is internally handled for you.
I'm sure it's short but sooo unreadable.
Loading more items...