I think this solution for day 7 part 1 is optimal....
# advent-of-code
j
I think this solution for day 7 part 1 is optimal. SPOILERS INSIDE
Wire up a graph, BFS it, using a PQ for the frontier that compares lexicographically “almost djikstra’s”