Project Euler #14: Longest Collatz sequence

  • + 0 comments

    It works on PyPy3, not Python 3. I didn't read the end of his sentence and went straight for Python 3 to only find that the code failed 4 test cases with runtime error. When I read the end of his sentence, I realised I used PyPy3 and it 100% pass all test cases.