Skip to content

Commit

Permalink
comment
Browse files Browse the repository at this point in the history
  • Loading branch information
glguy committed Dec 16, 2023
1 parent bfa198d commit 0ccffa4
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions solutions/src/2023/16.hs
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,12 @@ Maintainer : emertens@gmail.com
<https://adventofcode.com/2023/day/16>
This is a pretty straight forward depth-first traversal of the
state space. I represent nodes of the "graph" being searched
as pairs of a location and a direction vector. At each step
the location is used to look up the tile and the direction
vector is used to compute reflections and splits.
>>> :{
:main +
".|...\\....
Expand Down

0 comments on commit 0ccffa4

Please sign in to comment.