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 did not handle zero
good
Thanks
Very clever :-)
thanks for sharing @maks88sgt!
Hello. Sorry for taking so long to respond. I've only read one book about the functional approach - the Structure and interpretation of computer programs. You can find it using the keywords MIT 6.001.
@maks88sgt would you recommend any particular book regarding functional programming? Thanks.
thank you for your solution :)
Thanks for your feedback. I recommend reading something about functional programming. This greatly affects your coding style and allows you to think a little differently than usual.
More than one year training, and still don't catch these kind of recursion... :D
Nice work!