You are viewing a single comment's thread. Return to all comments →
You are doing too much complications
Keep it simple keep 1 array for lookups and what you can't find compute and store.
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 →
You are doing too much complications
Keep it simple
keep 1 array for lookups and what you can't find compute and store.