r/adventofcode • u/daggerdragon • Dec 03 '15
SOLUTION MEGATHREAD --- Day 3 Solutions ---
--- Day 3: Perfectly Spherical Houses in a Vacuum ---
Post your solution as a comment. Structure your post like the Day One thread in /r/programming.
24
Upvotes
View all comments
Show parent comment
1
u/taliriktug Dec 03 '15 edited Dec 03 '15
Nice! I never
hardheard of HashSet, so I used HashMap and come with this general solution fornsantas:PS. I started counting how many times Santas visit each home, thinking it will be needed later. I was wrong =)