You are viewing a single comment's thread. Return to all comments →
Been banging my heads against this one for a while, and I've just completely run out of ideas for ways to increase the efficiency. I'm working in python 2. I would love if someone could take a look at this submission and perhaps nudge me towards a better solution. https://www.hackerrank.com/contests/projecteuler/challenges/euler014/submissions/code/2416055
Seems like cookies are disabled on this browser, please enable them to open this website
Project Euler #14: Longest Collatz sequence
You are viewing a single comment's thread. Return to all comments →
Been banging my heads against this one for a while, and I've just completely run out of ideas for ways to increase the efficiency. I'm working in python 2. I would love if someone could take a look at this submission and perhaps nudge me towards a better solution. https://www.hackerrank.com/contests/projecteuler/challenges/euler014/submissions/code/2416055