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.
re-raised as an issue
Oops, I missed that, sorry.
beautiful code
I'd love to tell you, but I have not 'earned' access to see the code.
This is magic. Would anyone be kind of enough to explain what's going on in this code? Especially the recursive part?
SICP
If the initial call is counChange(0, []) then it returns 1 instead of 0
Well, the point is exactly that it's not the case.
other than spacing, this is what I did!
What if I wanted the list of combinations instead of the count?
How would you change the code?
This comment is hidden because it contains spoiler information about the solution
@MRodalgaard What if a legit array of 101 steps is supplied?
Symbols are ruby-specific, what about translating to other languages?
Why
Array.prototype.concat()
and notArray.prototype.push()
?cool
Loading more items...