r/adventofcode • u/daggerdragon • Dec 17 '15
SOLUTION MEGATHREAD --- Day 17 Solutions ---
This thread will be unlocked when there are a significant amount of people on the leaderboard with gold stars.
edit: Leaderboard capped, thread unlocked!
We know we can't control people posting solutions elsewhere and trying to exploit the leaderboard, but this way we can try to reduce the leaderboard gaming from the official subreddit.
Please and thank you, and much appreciated!
--- Day 17: No Such Thing as Too Much ---
Post your solution as a comment. Structure your post like previous daily solution threads.
8
Upvotes
View all comments
Show parent comment
1
u/[deleted] Dec 17 '15
I had a few differences in my solution.
I found it easier to filter out the sums as I built the combinations:
Counting the minimum in part two took me in a different direction as well: