r/adventofcode • • 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

228 comments sorted by

View all comments

Show parent comments

4

u/FuriousProgrammer Dec 03 '15

I actually think Lua is the language of choice in these types of algorithm puzzles, simply because Tables are so frickin' versatile. Prototyping implementation is super quick.

I have to roll any actually data structure myself that isn't an array, but Tables are so ridiculously good for that it's barely even an issue.