#AdventOfCode #Day8 with #rust
I spent an inordinate amount of time on part1 because
* imo the problem definition is wrong
* it does matter if you put permutations or combinations in the list, even if you filter them out :(
Part 2 is basically the same and I already did it in ruby so I'm not doing it again, at least not today.
I wanted to do this with union-find but I have yet to get to the chapter about generics and it seems cheating to do it without it :)
https://gist.github.com/riffraff/267f1e326e447815ab0ac28f217bc01f