Expand description
Advent of Code 2023 Day 16: https://adventofcode.com/2023/day/16
Today’s challenge wasn’t very difficult conceptually, but was fairly challenging to implement. I originally implemented a recursive solution but it was too slow on the actual puzzle input (it recursed on each individual tile) so I switched to a queuing implementation. It’s not super fast for the second part (where we need to try all of the possible starting points and directions) but it’s not so slow that it should be thrown away.
Functions§
- The solution for the day sixteen challenge.