Uploaded December 2020 | Updated November 2026, 8 hours ago
Hey, points again tonight! Thank goodness! Tonight's seemed pretty straightforward, especially since Eric didn't make us backtrack; slow and steady wins the race. If he had made us backtrack, I would have been completely toast. But a greedy parser worked just fine in this case -- except for part 2, which he allowed us to do a special case of a greedy parse on.
Code: github.com/jwise/aoc/blob/master/2020/19.lua
0:00 - Introduction
2:48 - Part 1
13:31 - Part 2
25:34 - A quick explanation
#adventofcode
Hey, points again tonight! Thank goodness! Tonight's seemed pretty straightforward, especially since Eric didn't make us backtrack; slow and steady wins the race. If he had made us backtrack, I would have been completely toast. But a greedy parser worked just fine in this case -- except for part 2, which he allowed us to do a special case of a greedy parse on.
Code: github.com/jwise/aoc/blob/master/2020/19.lua
0:00 - Introduction
2:48 - Part 1
13:31 - Part 2
25:34 - A quick explanation
#adventofcode










