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

272 comments sorted by

View all comments

Show parent comment

1

u/fetteelke Dec 04 '15

arrrrgh, I feel like I know way more assembler now, than I ever intended! Anyways, are there some help resources anywhere (google wasn't very helpful). I succeeded in extracting the recursive algorithm but I run into stack overflow issues when used on the actual problem. I guess, the algorithm can be rewritten but I just don't see it.