You are viewing a single comment's thread. Return to all comments →
This has helped me. My final mistake was that I used a dictionary for storing the results. After storing them in an array, all the tests passed.
Project Euler #14: Longest Collatz sequence
You are viewing a single comment's thread. Return to all comments →
This has helped me. My final mistake was that I used a dictionary for storing the results. After storing them in an array, all the tests passed.