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.
While the array is unnecessary for this challenge, I like how this is ready to extend to covering the variety of matching brackets.
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
If it's the Ruby version, I've fixed it.
That should be "hamming(26) should be 60", right?
you don't need the 'self'
I just think it reads nice there. IFAIK the only difference between
||
andor
is precedence, which doesn't matter there.any reason you used the
or
keyword instead of||
?awesome, thanks.
(1..depth - 1) can be written as (1...depth)