r/adventofcode • u/daggerdragon • 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
View all comments
Show parent comment
3
u/adriweb Dec 04 '15
Without a RegExp, which is a bit faster (I timed both to make sure):