Day 7 (Advent of Code 2020)

1 · · Dec. 21, 2020, 9 p.m.
Another day, another Advent of Code 2020 problem. That one seems fun! For some nerdy values of fun. Our input is a set of rules: light red bags contain 1 bright white bag, 2 muted yellow bags. dark orange bags contain 3 bright white bags, 4 muted yellow bags. bright white bags contain 1 shiny gold bag. muted yellow bags contain 2 shiny gold bags, 9 faded blue bags. shiny gold bags contain 1 dark olive bag, 2 vibrant plum bags. dark olive bags contain 3 faded blue bags, 4 dotted black bags. vibra...