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
they are almost the same
This comment is hidden because it contains spoiler information about the solution
this is what I was trying to do with my solution, was trying to figure out how to pass a variable to inner function, which in this case is to return a function that takes a variable. Didn't think of that... thank you.
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
Good solution. The duplication can be removed using closures.
This comment is hidden because it contains spoiler information about the solution
Very intuitive and clean solution. And it could be better if you get rid of duplication in digit functions