Ad
  • Custom User Avatar

    Then it doesn't pass all the tests, it passes all the tests until it times out. Either your code is too slow or it has an infinite loop.

  • Custom User Avatar

    Hello,
    My code pass all the tests, but fails the attempt with message "Execution timed out 12s" .
    Can anyone help me?

  • Custom User Avatar

    Definitely the hardest kata I have done, and my poor solution wouldn't even work in the wild.

    Some advice I would give - for the best solutions, the tail length does not matter. Just focus on determining the length of the loop.