Project Euler #14: Longest Collatz sequence

  • + 3 comments

    Did anyone solve this in Python3? I spend 2 hours trying to optimize the code, but I still get a timeout during memoization. Same code in Java runs in under 1s.