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.
liked the elegance of solution but would try not to use Recursion if iterative approach is easy too (just to save up some stack :))
Ah, using the -1 to subtract from 2. Good one.
Thank you.
Nice solution, but add a check for h <= 0.0, otherwise negative values, for example h = -3. and window = -4.5, cause infinite rerursion.
Thank you for clearing that up. I apologize for misreading the description.
No, the description says, "Once you get to the rightmost/highest, 88th, key, you start all over again with your left little finger on the first key.", so rather than it being some kind of infinite keyboard, you keep wrapping back to that first low A.
This comment is hidden because it contains spoiler information about the solution
That's a great LISP-y approach.
Weird but fixed, thanks!
I know that this is not a solution. I submitted it in order to have access to the issue reporting system for this kata.
This comment is hidden because it contains spoiler information about the solution