Ad
  • Default User Avatar

    Nope, not an issue. Kata works perfectly. Keep in mind that you are not just implementing the search function.

  • Custom User Avatar

    Hi

    I tried to submit my solution, but I was told:

    “It should work for random inputs too – Expected: false, instead got: true”

    I then took the tests where I had failed, and ran them through my program using irb and the terminal.

    Surprisingly, the irb showed the program running as it should do, giving false when it was expected. Is this because of a flaw with irb?