r/javahelp • • 5h ago

AdventOfCode Advent Of Code daily thread for December 02, 2026

1 Upvotes

Welcome to the daily Advent Of Code thread!

Please post all related topics only here and do not fill the subreddit with threads.

The rules are:

  • No direct code posting of solutions - solutions are only allowed on the following source code hosters: Github Gist, Pastebin (only for single classes/files!), Github, Bitbucket, and GitLab - anonymous submissions are, of course allowed where the hosters allow (Pastebin does). We encourage people to use git repos (maybe with non-personally identifiable accounts to prevent doxing) - this also provides a learning effect as git is an extremely important skill to have.
  • Discussions about solutions are welcome and encouraged
  • Questions about the challenges are welcome and encouraged
  • Asking for help with solving the challenges is encouraged, still the no complete solutions rule applies. We advise, we help, but we do not solve.
  • As an exception to the general "Java only" rule, solutions in other programming languages are allowed in this special thread - and only here
  • No trashing! Criticism is okay, but stay civilized.
  • And the most important rule: HAVE FUN!

/u/Philboyd_studge contributed a couple helper classes:

Use of the libraries is not mandatory! Feel free to use your own.

/u/TheHorribleTruth has set up a private leaderboard for Advent Of Code. https://adventofcode.com/2020/leaderboard/private/view/15627 If you want to join the board go to your leaderboard page and use the code 15627-af1db2bb to join. Note that people on the board will see your AoC username.

Happy coding!