Ad
  • Default User Avatar

    added to Ruby

  • Custom User Avatar

    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!

  • Custom User Avatar

    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.

  • Custom User Avatar

    GiacomoSorbi and MMMAAANNN have Edited the description and Added test cases Mark the issue resolved if satified, Happy Coding ^_^

  • Custom User Avatar

    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.

  • Custom User Avatar

    That's a cool idea, but I can't change the test cases once over 500 people have completed the kata. Sorry!