You are reading a single comment by @Tijmen and its replies. Click here to read the full conversation.
  • I was surprised to see that there isn't a better solution than the algorithm I came up with for today's problem, immediately went for a dictionary as I've learned to prepare for scalability, the only thing I had to do to make today's code work for part 2 was removing the print(memDict) I had for debugging purposes.

    https://github.com/TijmenK/AoC2020/blob/main/day15.py

About

Avatar for Tijmen @Tijmen started