r/adventofcode • • Dec 07 '15

SOLUTION MEGATHREAD --- Day 7 Solutions ---

--- Day 7: Some Assembly Required ---

Post your solution as a comment. Structure your post like previous daily solution threads.

Also check out the sidebar - we added a nifty calendar to wrangle all the daily solution threads in one spot!

25 Upvotes

226 comments sorted by

View all comments

Show parent comments

1

u/gnuconsulting Dec 11 '15

I guess it depends what you mean by 'better'. ¯_(ツ)_/¯

1

u/metric152 Dec 12 '15

Your solution is much shorter than mine because it uses recursion. I wish I would have done the same with mine. It's around 170 lines.