Advent of Code 2020: Day 7 (Ruby solution)
This time the puzzle is a little bit harder.
You get text instructions in not-trivial to parse form, like:
striped white bags contain 4 drab silver bags.
drab silver bags contain no other bags.
pale plum bags contain 1 dark black bag.
muted gold bag...
rubywizards.com2 min read