32 Commits

Author SHA1 Message Date
dea60a46f7 Day 24. Overall pleased with this solution.
Definitely could use some optimization in not creating so many new maps,
but runtime is acceptable for now.
2020-12-24 00:07:01 -06:00
0397fa2821 Day 23 in Go, just 'cause
Also resaved 23input.txt in code page 1252 to remove the UTF-8 BOM
2020-12-23 22:41:03 -06:00
633beedcc8 Optimize day 23
After @tocchan told me how he solved this, I rewrote my solution with
his algorithm in mind and got the runtime down from ~1.3hrs to <250ms
on my desktop PC.
2020-12-23 21:28:23 -06:00
29ee7eee26 Day 23 brute force solution that takes over an hour for p2 2020-12-23 17:16:19 -06:00
0a3fe365d0 Make a ton of VS-recommended changes. Sure, why not. 2020-12-22 13:04:55 -06:00
f420af35cc Day 20
Heavily cribbed from
https://gist.github.com/AlaskanShade/5c46b96a4b1f08cdb6568c15b6e86341

This one really tripped me up, so I sought help. A lot of help.
2020-12-22 13:01:35 -06:00
1d624585cb Reset statistics between parts 2020-12-22 09:37:50 -06:00
03e9408502 Day 22 refactor - 2-3x speedup from changing infinite lookup method
This new method fixes the hands-seen-before check to be actually correct

Unsure how I got the correct answers with that being wrong. 🤷
2020-12-22 09:37:50 -06:00
1b0e401e03 Day 22. Finally kinda happy with this one, copied code notwithstanding 2020-12-22 00:28:17 -06:00
b9d9ee8dca Day 21
I'm sure this could be optimized plenty, but it works.
2020-12-21 23:25:38 -06:00
d2d3020e5c Day 19 - part 2 is more focused than I'd like 2020-12-20 10:13:53 -06:00
be75219acf Day 18, back in C# 2020-12-18 09:48:37 -06:00
eb90b9068a Day17 in node v14...not ideal 2020-12-17 20:34:00 -06:00
5bcbd60caa Day 16...in Go this time! 2020-12-16 11:44:22 -06:00
1c32616861 Slightly faster day 15, still not great 2020-12-15 09:02:28 -06:00
da7886e2ad Day 15...slower than I'd like... 2020-12-15 08:54:30 -06:00
ba2a439447 Day 14
Not as bad as day 13, but I'm still not completely satisfied with this
2020-12-14 09:46:02 -06:00
ff5f16be28 Terrible, awful day 13 solution 2020-12-13 12:09:23 -06:00
5defd6ff60 Day 12 2020-12-12 22:23:01 -06:00
97d7d0141d Convert to a logger so I can see results in terminal or IDE 2020-12-11 09:36:28 -06:00
aa8d9b5fdb 2-3x perf improvement for fun
The adjacent checking functions are still embarrassing, though...
2020-12-11 09:34:46 -06:00
ac23dd44bf Switch to .NET 5 2020-12-11 09:25:07 -06:00
edc7fb1605 Day 11...ugly... 2020-12-11 08:49:59 -06:00
78e2ce126d Day 10 + small perf checks 2020-12-10 15:05:09 -06:00
921c59ffca Day 9 2020-12-09 08:17:15 -06:00
bb983ff057 Added readme at github's behest 2020-12-08 08:42:22 -06:00
ae9782303f Day 8 2020-12-08 08:40:55 -06:00
7c6bd64903 Day 7 2020-12-07 11:55:11 -06:00
c717c6d640 Day 6 2020-12-07 09:51:06 -06:00
c53cedd5ff Day 5 2020-12-07 09:00:44 -06:00
2969e6ff44 Rough day 4 implementation 2020-12-07 07:59:52 -06:00
f2545d7373 Initial commit - should have done this on day 1... 2020-12-03 09:59:03 -06:00