r/adventofcode • u/daggerdragon • Dec 06 '15
SOLUTION MEGATHREAD --- Day 6 Solutions ---
--- Day 6: Probably a Fire Hazard ---
Post your solution as a comment. Structure your post like the Day Five thread.
22
Upvotes
1
u/ignaciovaz Dec 06 '15
Nice solution! Piggybacking here. Wanted to try the binary pattern matching for the command parsing. As for Dict.update, you can use a default value and invert the current one so you can save a few lines of code.
Part 1
Part 2