Skip to content

Latest commit

 

History

History
64 lines (52 loc) · 4.91 KB

README.md

File metadata and controls

64 lines (52 loc) · 4.91 KB

These are my solutions to Advent of Code 2023. They are all coded in Java, needing Java 21 and --enable-preview (for string templates).

Index

Acknowledgements

All solutions are entirely the work of Éamonn McManus except as noted below.

  • Day 17 (least-cost path with constraints on moves)

    I gave up before finding the right Dynamic Programming approach. I ended up copying my approach from David Brownman.

  • Day 20 (pulse propagation)

    I had a strong suspicion of what the right approach might be for Part 2 but would have needed to investigate in detail to confirm. Instead I looked online and found this description by Dazbo, which confirmed my suspicion. Then solving was straightforward.

  • Day 21 (counting paths in an infinite graph)

    I was not really motivated to put in the work for Part 2 so I outright cheated, by copying this solution by Michiel Graat.

  • Day 24 (intersections of 3-dimensional lines)

    This curious puzzle was entirely solvable with algebra, the computer only serving to solve simultaneous equations. I did the first part myself, but did not find the right approach for the second part on my own. The excellent explanation and solution by @dirk527 showed me the right path, but then there wasn't much for me to write.