Commit Graph

2 Commits

Author SHA1 Message Date
c710a86f45 Cut day 14 runtime in half
This is mostly from reusing the same object instead of creating a new one each time we test a new point, but there's also a minor amount of speedup from using HashSet instead of Dictionary. I originally thought I would need to care about why each spot was blocked (wall vs sand) but it turns out that's not important for this problem.
2022-12-14 21:49:18 -06:00
b1d57f4fd0 Day 14 solution
This runs slower than I'd like, but I wanted to check my initial solution submitted so I can iterate on it later.
2022-12-14 17:42:23 -06:00