r/programming • • Dec 01 '15

Daily programming puzzles at Advent of Code

http://adventofcode.com/
320 Upvotes

179 comments sorted by

View all comments

Show parent comment

1

u/Pwntheon Dec 02 '15

Nice solution. I was trying to do something like this but kept getting errors when doing loops and\or branching. Didn't think of using map.

Did you try the second one?