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.
added to Ruby
Wow, I'm very impressed that this literally passes everything except the one case you mentioned. I'll see if I'm still allowed to edit this kata to add in that test case. Thanks a lot for the feedback!
I would like to see a solution that could pass all of the other tests, but not this one. Even if you did figure one out, the random tests should catch any invalid solutions anyway. I'm interested in seeing the solution though, and if it is a big enough issue, then I will change things.
GiacomoSorbi and MMMAAANNN have
Edited the description and Added test cases
Mark the issue resolved if satified,Happy Coding ^_^
Thank you for the feedback. The test cases were actually already checking for the case of nil. I've added false to the list of possible values to check. When you run the acceptance tests, you see what memoized values they are checking - nil and false should be there, you can verify yourself.
That's a cool idea, but I can't change the test cases once over 500 people have completed the kata. Sorry!