a bowl of goatmeal

Posted:

Advent of Code Day 8: Playground is complete!

Went for python again today. That puts python at the top of the repo language breakdown, so I'll try to avoid it for the rest of Advent (I'll try to go for yet-unused languages or ones near the bottom of the list). But boy, do those collections and itertools simplify these kinds of problems. Shoutout to my homies defaultdict(set) and itertools.combinations​❗ Honorable mentions go to map and sorted.

Today was the easiest part 2 relative to part 1 (or maybe, tied with day 4, which I think is still my favorite so far).