r/PowerShell • u/rmbolger • Dec 15 '20
Advent of Code 2020 - Day 15 - Rambunctious Recitation
https://adventofcode.com/2020/day/14
Definitely a pretty straightforward day where you should be able to use the same code for both parts 1 and 2.
6
Upvotes
View all comments
3
u/ka-splam Dec 16 '20 edited Dec 16 '20
I wrote some code with a big hashtable of times-last-seen, and it got my answer for part 1. Started running on part 2, working but slow. By the time I tried rewriting it, it was 5 million in and I let it run. It slowed down and down. Took 20 minutes for part 2.