We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
My solution in Python worked for most of the test cases. Thing is, it didn't work on 4 of the test cases, and it seems like it just wants some hyper-optimizations that would end up being memory inefficient and weird. Seems like a pretty unfair set of test cases tbh.
Cookie support is required to access HackerRank
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 →
My solution in Python worked for most of the test cases. Thing is, it didn't work on 4 of the test cases, and it seems like it just wants some hyper-optimizations that would end up being memory inefficient and weird. Seems like a pretty unfair set of test cases tbh.