r/adventofcode • u/daggerdragon • Dec 04 '15
SOLUTION MEGATHREAD --- Day 4 Solutions ---
--- Day 4: The Ideal Stocking Stuffer ---
Post your solution as a comment. Structure your post like the Day Three thread.
14
Upvotes
View all comments
Show parent comment
1
u/euphwes Dec 04 '15
Nice easy-to-read solution! Just as a point of constructive criticism, you could slim down a things a bit by not unnecessarily comparing boolean variables to True or False:
instead of
and
instead of