Do day 18.

This commit is contained in:
2023-12-19 15:52:36 -05:00
parent 5626205b2f
commit 30a8489313
3 changed files with 145 additions and 2 deletions

View File

@@ -14,6 +14,9 @@
- Day 12: 52:00 and 22:00 for leaderboard; had the right idea and I am good at this type of problem
- ...
- Day 16: 00:27:30 745; best placement so far, of course still horribly slow
- Day 17: a couple of hours... realized that I need A* after a while; reused
- Day 17: a couple of hours; I realized that I need A* after a while; reused
implementation from Project Euler but improved with heapq which was super fun
- Day 18: a couple of hours; I realized that I need shoelace algo for part two
but didn't realize that I have to compute the outer edges for a while and
after I did, I still got clockwise/counter-clockwise issues. They could have
made it meaner by using different clock directions for example and input.