Skip to content

eamonnmcmanus/AdventOfCode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

62 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Solutions to Advent of Code 2023.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages