neilnjae,
@neilnjae@dice.camp avatar

day 21 done in

A geometric approach to finding the solution, involving slicing up the map for part 2 into regions that would repeat, then finding how many of each I'd need for the final solution.

Full writeup: https://work.njae.me.uk/2023/12/29/advent-of-code-2023-day-21/

Code: https://gitlab.com/NeilNjae/advent-of-code-23/-/blob/main/advent21/Main.hs

  • All
  • Subscribed
  • Moderated
  • Favorites
  • haskell
  • mdbf
  • DreamBathrooms
  • InstantRegret
  • magazineikmin
  • Youngstown
  • everett
  • anitta
  • slotface
  • GTA5RPClips
  • rosin
  • thenastyranch
  • kavyap
  • tacticalgear
  • modclub
  • JUstTest
  • osvaldo12
  • Durango
  • khanakhh
  • provamag3
  • cisconetworking
  • ngwrru68w68
  • cubers
  • tester
  • ethstaker
  • megavids
  • normalnudes
  • Leos
  • lostlight
  • All magazines