You are reading a single comment by @Greenbank and its replies. Click here to read the full conversation.
  • Day 14: Semi-naive solution got there in the end (2m11s execution time) just to get the answer.

    Rewrote it properly (think lanternfish) and it's near instantaneous (under 0.01s).

  • How naive? When I saw the sample output was 2 trillion I didn't even bother trying mine (a list of chars). It would've required 10 TB of memory

About

Avatar for Greenbank @Greenbank started