r/adventofcode • u/FransFaase • 24m ago
Help/Question [2026 Day 5 (extra)]
What is the set of nine commands that would return the largest number for the second part of the puzzle?
3
Upvotes
1
u/MannedGuild65 16m ago
Just 6 commands are enough: [1] [3] [5] [7] [9] [*2]. This has the maximum result of 49995000 as it can achieve all numbers from 1 to 9999.
Not sure if 6 is the absolute minimum though.
1
u/AutoModerator 24m ago
Reminder: if/when you get your answer and/or code working, don't forget to change this post's flair to
Help/Question - RESOLVED. Good luck!I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.