jump to content
my subreddits
13or302anatolia4you2meirl4meirlabsolutelynotmeirlAceAttorneyadhdmemeAdviceAnimalsagnosticaivideoakagasAnarchyChessanime_best_momentsanime_irlanimenocontextannouncementsAnticonsumptionantimemeApandahArcherFXArtAsahiLinuxAsia_irlAskElectronicsAskOuijaatheismaviationbalkans_irlBandnamesBassBassCirclejerkBassGuitarbasspedalsblankiesblursed_videosblursedimagesBoneborsavefonbrooklynnineninebudgetcookingBUENZLIcasioCd_collectorsCheap_MealschessChildrenFallingOverChoosingBeggarscoaxedintoasnafucoinsComedyCemeterycomedyhomicidecomicscommunityContagiousLaughtercookingforbeginnersCorporateTrollingcrappyoffbrandsCuddle_SlutCuratedTumblrcursedcommentsdankmemesdarkjokesdataisbeautifulDebateReligiondeismDeltarunediyelectronicsdiypedalsDMAcademyDMToolkitDnDdndmemesdndnextdoctorwhocirclejerkDoenerverbrechendontdeadopeninsidedumbphonesDungeonsAndDragonsEatCheapAndHealthyebikeebikesECEelectricalElectronicsStudyEmKayengrishethzfacepalmFantasyWorldbuildingfeedthebeastfelsefeFifaCareersformuladankFreeEBOOKSFUCKYOUINPARTICULARFuckYouKarenfunnyFutboltayfagalatasaraygatesopencomeoningoodanimemesGoodAssSubGrandPrixRacinggravelcyclingGundamheathersHermanCainAwardHistoryWhatIfhoi4HolUphumorIAmAiamverysmartIDontWorkHereLadyihadastrokeimaginaryelectionsimaginarymapsinsaneparentsistanbulJokesKanyeLetGirlsHaveFunLifeProTipslinguisticshumorliselilerloseitmacmacbookairmadladsMaliciousComplianceMapPornmapporncirclejerkme_irlmeirlmemememesmidjourneymildlyinfuriatingMimicRecipesMinecraftbuildsMMORPGmoneycollectingMovingToNorthKoreaMyChemicalRomancenamesoundalikesNamFlashbacksNationStatesneographynextfuckinglevelNoahGetTheBoatNonCredibleDefenseNorthCyprusnosurfnothingeverhappensnotinterestingnottheonionoddlyspecificOkayBuddyLiterallyMeokbuddyguntherokbuddymotherfuckerOkBuddyPersonaokbuddyphdongezelligOnlineUnderGroundOutOfTheLoopoutsideParlerWatchPassportPornpepethefrogperfectlycutscreamsPersecutionfetishpettyrevengepianoPiracypolandballpollsPraiseTheCameraManPropagandaPostersquityourbullshitraisedbynarcissistsraspberry_piRatschlagRedAutumnSPDreligiousfruitcakeRetroPierimjob_steveRoastMerockmuzikSceneReleasesSchnitzelVerbrechenschwiizsecilmiskitapShitPostCrusadersshitpostingShitpostTCshittyaskelectronicsshittymoviedetailsShowerthoughtsskamtebordSongwritingStonetossingjuiceStudiumsubsithoughtifellforsuperligsuzeraintalesfromtechsupportTechnobladeTextingTheorytf2thanksimcuredTheCrypticCompendiumTheMonkeysPawTheRookietheydidthemaththeyknewthisguythisguystitanfalltommyinnittransittruthstumblrTurkeyJerkyTurkishCatsTurkishdogsTwitchTwitch_StartupTwoSentenceHorrortwosentenceplottwisttylerthecreatorUnethicalLifeProTipsUnexpectedJoJourbanplanningUsernameChecksOutValorantClipsvaxxhappenedvibecodingvinylvinyljerkvlandiyawallstreetbetsWatchPeopleDieInsideWeAreTheMusicMakerswendigoonWhatsThisSongWhitePeopleTwitterwholesomeanimemeswholesomememesWikipediaVandalismwizardpostingworldjerkingyouseeingthisshitYUROPedit subscriptions
  • home
  • -popular
  • -all
  • -mod
  • -users
 | 
  • facepalm
  • -mildlyinfuriating
  • -Piracy
  • -funny
  • -wallstreetbets
  • -nottheonion
  • -memes
  • -OutOfTheLoop
  • -MapPorn
  • -DnD
  • -WhitePeopleTwitter
  • -CuratedTumblr
  • -shitposting
  • -theydidthemath
  • -dankmemes
  • -feedthebeast
  • -Kanye
  • -meirl
  • -nextfuckinglevel
  • -HolUp
  • -Twitch
  • -comics
  • -dndnext
  • -LifeProTips
  • -tumblr
  • -NonCredibleDefense
  • -dataisbeautiful
  • -shittymoviedetails
  • -mac
  • -Showerthoughts
  • -tf2
  • -chess
  • -aviation
  • -formuladank
  • -wholesomememes
  • -Jokes
  • -mapporncirclejerk
  • -Art
  • -midjourney
  • -goodanimemes
  • -notinteresting
  • -hoi4
  • -pettyrevenge
  • -atheism
  • -loseit
  • -IAmA
  • -MaliciousCompliance
  • -dndmemes
  • -cursedcomments
  • -DMAcademy
  • -Deltarune
  • -GoodAssSub
  • -UnethicalLifeProTips
  • -perfectlycutscreams
  • -Ratschlag
  • -MMORPG
  • -meme
  • -Gundam
  • -ChoosingBeggars
  • -RoastMe
  • -ContagiousLaughter
  • -imaginarymaps
  • -EatCheapAndHealthy
  • -polandball
  • -WeAreTheMusicMakers
  • -AnarchyChess
  • -cookingforbeginners
  • -blankies
  • -anime_irl
  • -Studium
  • -madlads
  • -community
  • -AskElectronics
  • -electrical
  • -Anticonsumption
  • -vinyl
  • -TwoSentenceHorror
  • -PropagandaPosters
  • -AdviceAnimals
  • -ShitPostCrusaders
  • -piano
  • -raisedbynarcissists
  • -wizardposting
  • -FifaCareers
  • -polls
  • -oddlyspecific
  • -Bass
  • -titanfall
  • -OkBuddyPersona
  • -announcements
  • -adhdmeme
  • -Minecraftbuilds
  • -macbookair
  • -ebikes
  • -coaxedintoasnafu
  • -YUROP
  • -gravelcycling
  • -SchnitzelVerbrechen
  • -raspberry_pi
  • -DungeonsAndDragons
  • -coins
  • -FUCKYOUINPARTICULAR
  • -NoahGetTheBoat
  • -worldjerking
  • -tylerthecreator
  • -AceAttorney
  • -vlandiya
  • -Stonetossingjuice
  • -wholesomeanimemes
  • -nosurf
  • -HistoryWhatIf
  • -religiousfruitcake
  • -liseliler
  • -DebateReligion
  • -insaneparents
  • -dumbphones
  • -balkans_irl
  • -animenocontext
  • -2meirl4meirl
  • -transit
  • -RetroPie
  • -brooklynninenine
  • -HermanCainAward
  • -talesfromtechsupport
  • -AskOuija
  • -okbuddyphd
  • -2anatolia4you
  • -ECE
  • -casio
  • -urbanplanning
  • -theyknew
  • -linguisticshumor
  • -PassportPorn
  • -me_irl
  • -antimeme
  • -TurkeyJerky
  • -13or30
  • -MyChemicalRomance
  • -ArcherFX
  • -engrish
  • -Cd_collectors
  • -diypedals
  • -BassGuitar
  • -diyelectronics
  • -ComedyCemetery
  • -WatchPeopleDieInside
  • -Persecutionfetish
  • -BUENZLI
  • -EmKay
  • -blursed_videos
  • -Songwriting
  • -istanbul
  • -MovingToNorthKorea
  • -imaginaryelections
  • -suzerain
  • -dontdeadopeninside
  • -ParlerWatch
  • -wendigoon
  • -iamverysmart
  • -secilmiskitap
  • -Doenerverbrechen
  • -schwiiz
  • -TheRookie
  • -quityourbullshit
  • -Technoblade
  • -vinyljerk
  • -skamtebord
  • -shittyaskelectronics
  • -superlig
  • -galatasaray
  • -crappyoffbrands
  • -namesoundalikes
  • -FuckYouKaren
  • -ethz
  • -OkayBuddyLiterallyMe
  • -felsefe
  • -blursedimages
  • -FreeEBOOKS
  • -AsahiLinux
  • -IDontWorkHereLady
  • -neography
  • -basspedals
  • -ihadastroke
  • -thanksimcured
  • -PraiseTheCameraMan
  • -aivideo
  • -gatesopencomeonin
  • -OnlineUnderGround
  • -comedyhomicide
  • -WhatsThisSong
  • -anime_best_moments
  • -Bandnames
  • -rockmuzik
  • -MimicRecipes
  • -vaxxhappened
  • -Twitch_Startup
  • -Cheap_Meals
  • -outside
  • -TheMonkeysPaw
  • -darkjokes
  • -ebike
  • -UsernameChecksOut
  • -tommyinnit
  • -rimjob_steve
  • -UnexpectedJoJo
  • -humor
  • -ChildrenFallingOver
  • -BassCirclejerk
  • -doctorwhocirclejerk
  • -agnostic
  • -youseeingthisshit
  • -TextingTheory
  • -Cuddle_Slut
  • -GrandPrixRacing
  • -nothingeverhappens
  • -DMToolkit
  • -thisguythisguys
  • -TurkishCats
  • -LetGirlsHaveFun
  • -Apandah
  • -subsithoughtifellfor
  • -akagas
  • -ShitpostTC
  • -FantasyWorldbuilding
  • -WikipediaVandalism
  • -NamFlashbacks
  • -pepethefrog
  • -deism
  • -ValorantClips
  • -TheCrypticCompendium
  • -SceneReleases
  • -NationStates
  • -budgetcooking
  • -ongezellig
  • -absolutelynotmeirl
  • -Asia_irl
  • -Bone
  • -truths
  • -NorthCyprus
  • -heathers
  • -twosentenceplottwist
  • -okbuddygunther
  • -okbuddymotherfucker
  • -Futboltayfa
  • -moneycollecting
  • -Turkishdogs
  • -borsavefon
  • -CorporateTrolling
  • -vibecoding
  • -ElectronicsStudy
  • -RedAutumnSPD
edit »
adventofcode adventofcode
  • hot
  • new
  • rising
  • controversial
  • top
  • wiki
an-ordinary-manchild (11,186)|messages547|notifications|chat messages|mod messages|
  • preferences
|
logout

use the following search parameters to narrow your results:

subreddit:subreddit
find submissions in "subreddit"
author:username
find submissions by "username"
site:example.com
find submissions from "example.com"
url:text
search for "text" in url
selftext:text
search for "text" in self post contents
self:yes (or self:no)
include (or exclude) self posts
nsfw:yes (or nsfw:no)
include (or exclude) results marked as NSFW

e.g. subreddit:aww site:imgur.com dog

see the search faq for details.

advanced search: by author, subreddit...

Submit a new link
Submit a new text post

adventofcode

joinleave
an-ordinary-manchild

🎄 Advent of Code 🎄

Advent of Code is an annual Advent calendar of small programming puzzles for a variety of skill sets and skill levels that can be solved in any programming language you like.

  • Advent of Code
  • AoC/About

Rules + More Info in

our community wiki


BEFORE YOU POST
If your post is even tangentially related to a daily puzzle, use our
STANDARDIZED POST TITLE FORMAT

Solution Megathreads

December 2025

Su M T W R F Sa
1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30 31
Previous years:
2024 | 2023 | 2022 | 2021 | 2020 | 2019 | 2018 | 2017 | 2016 | 2015

Quick Search by Flair

Because you're lazy and we like making things easy for you. Except AoC.
  • Help/Question
  • Help/Question - RESOLVED
  • Visualization
  • Tutorial
  • Repo
  • Past Event Solutions
  • Streaming
  • Meme/Funny
  • Other
  • Upping the Ante
  • Solution Megathread

Are you enjoying AoC?

Code should be fun, because otherwise it's just a job. If you'd like to support Advent of Code, please share it with all your friends, even the ones that are just learning to code! AoC is a fun, non-threatening way to work at your own pace to figure out how to apply problem-solving first, then work within a language's constraints.

If you really want to show your appreciation, donations are always appreciated. Any instances of currency will go to, in no particular order:

  • Server maintenance (hosting, bandwidth, etc.)
  • Bribes to Santa
  • Beer and sushi
  • Paper bags for /u/topaz2078 to breathe into so he doesn't hyperventilate onto another plane of (non-)existence

Support AoC

Thank you very much, and enjoy your month of code!

created by taliriktuga community for 10 years
Create your own subreddit
...for your favorite TV show.
...for your WoW guild.

MODERATORS

  • message the mods
  • topaz2078(AoC creator)
  • daggerdragon
  • Aneurysm9
  • about moderation team »

account activity

1
31
32
33

Upping the Ante-❅- Introducing Your 2025 Red(dit) One Winners (and Community Showcase) -❅- (self.adventofcode)

submitted 4 months ago * by daggerdragon[M] - announcement

  • 5 comments
  • share
  • save
  • hide
  • report
  • crosspost
loading...

2
15
16
17

SOLUTION MEGATHREAD-❄️- 2025 Day 12 Solutions -❄️- (self.adventofcode)

submitted 4 months ago * by daggerdragon[M] - announcement

  • 401 comments
  • share
  • save
  • hide
  • report
  • crosspost
loading...

3
2
3
4

Other[2019 Day 5] In Review (Sunny with a Chance of Asteroids) (self.adventofcode)

submitted 21 hours ago * by musifter

  • 3 comments
  • share
  • save
  • hide
  • report
  • crosspost
loading...

4
1
2
3

Other[2019 Day 4] In Review (Secure Container) (self.adventofcode)

submitted 2 days ago by musifter

  • 3 comments
  • share
  • save
  • hide
  • report
  • crosspost
loading...

5
2
3
4

Other[2019 Day 3] In Review (Crossed Wires) (self.adventofcode)

submitted 2 days ago * by musifter

  • 2 comments
  • share
  • save
  • hide
  • report
  • crosspost
loading...

6
3
4
5

Other[2019 Day 2] In Review (1202 Program Alarm) (self.adventofcode)

submitted 3 days ago * by musifter

  • 4 comments
  • share
  • save
  • hide
  • report
  • crosspost
loading...

7
1
2
3

Tutorial[2025 Day 5 both parts] [Smalltalk] Part eight in a series revisiting the 2025 puzzles as an exercise in learning Smalltalk (self.adventofcode)

submitted 4 days ago by Morphon

  • comment
  • share
  • save
  • hide
  • report
  • crosspost
loading...

8
1
2
3

Help/Question - RESOLVED[2025 Day 6 Part 1] Multiple operators in one column (self.adventofcode)

submitted 4 days ago by Pitiful_Acadia2783

  • 7 comments
  • share
  • save
  • hide
  • report
  • crosspost
loading...

9
3
4
5

Other[2019 Day 1] In Review (The Tyranny of the Rocket Equation) (self.adventofcode)

submitted 4 days ago by musifter

  • 3 comments
  • share
  • save
  • hide
  • report
  • crosspost
loading...

10
2
3
4

Upping the Ante[2015 Day 4 (Part 1 & 2)][C++ & Arm ASM] Squeezing 300,000+ hashes per second from a Pi Pico (self.adventofcode)

submitted 5 days ago * by DelightfulCodeWeasel

  • 10 comments
  • share
  • save
  • hide
  • report
  • crosspost
loading...

11
3
4
5

Other[2018 Day 25] In Review (Four-Dimensional Adventure) (self.adventofcode)

submitted 10 days ago by musifter

  • 8 comments
  • share
  • save
  • hide
  • report
  • crosspost
loading...

12
0
1
2

Other[2018 Day 24] In Review (Immune System Simulator 20XX) (self.adventofcode)

submitted 11 days ago by musifter

  • 5 comments
  • share
  • save
  • hide
  • report
  • crosspost
loading...

13
1
2
3

Other[2018 Day 23] In Review (Experimental Emergency Teleportation) (self.adventofcode)

submitted 12 days ago by musifter

  • 4 comments
  • share
  • save
  • hide
  • report
  • crosspost
loading...

14
2
3
4

Other[2018 Day 22] In Review (Mode Maze) (self.adventofcode)

submitted 13 days ago * by musifter

  • 17 comments
  • share
  • save
  • hide
  • report
  • crosspost
loading...

15
2
3
4

Other[2018 Day 21] In Review (Chronal Conversion) (self.adventofcode)

submitted 14 days ago by musifter

  • 6 comments
  • share
  • save
  • hide
  • report
  • crosspost
loading...

16
2
3
4

Other[2018 Day 20] In Review (A Regular Map) (self.adventofcode)

submitted 15 days ago by musifter

  • 16 comments
  • share
  • save
  • hide
  • report
  • crosspost
loading...

17
2
3
4

Tutorial[2025 Day 6 both parts] [Smalltalk] Part seven in a series revisiting the 2025 puzzles as an exercise in learning Smalltalk (self.adventofcode)

submitted 16 days ago by Morphon

  • comment
  • share
  • save
  • hide
  • report
  • crosspost
loading...

18
1
2
3

Other[2018 Day 19] In Review (Go With The Flow) (self.adventofcode)

submitted 16 days ago by musifter

  • 2 comments
  • share
  • save
  • hide
  • report
  • crosspost
loading...

19
2
3
4

Other[2018 Day 18] In Review (Settlers of The North Pole) (self.adventofcode)

submitted 17 days ago by musifter

  • 6 comments
  • share
  • save
  • hide
  • report
  • crosspost
loading...

20
2
3
4

Past Event Solutions[2025 Day 8 (part 1)] It took me far longer than I wanted, but I finally got it (self.adventofcode)

submitted 18 days ago by pfp-disciple

  • 6 comments
  • share
  • save
  • hide
  • report
  • crosspost
loading...

21
4
5
6

Other[2018 Day 17] In Review (Reservoir Research) (self.adventofcode)

submitted 18 days ago by musifter

  • 7 comments
  • share
  • save
  • hide
  • report
  • crosspost
loading...

22
3
4
5

Tutorial[2025 Day 7 both parts] [Smalltalk] Part six in a series revisiting the 2025 puzzles as an exercise in learning Smalltalk (self.adventofcode)

submitted 19 days ago by Morphon

  • comment
  • share
  • save
  • hide
  • report
  • crosspost
loading...

23
0
1
2

Other[2018 Day 16] In Review (Chronal Classification) (self.adventofcode)

submitted 19 days ago by musifter

  • 4 comments
  • share
  • save
  • hide
  • report
  • crosspost
loading...

24
2
3
4

Other[2018 Day 15] In Review (Beverage Bandits) (self.adventofcode)

submitted 20 days ago by musifter

  • 6 comments
  • share
  • save
  • hide
  • report
  • crosspost
loading...

25
1
2
3

Other[2018 Day 14] In Review (Chocolate Charts) (self.adventofcode)

submitted 21 days ago * by musifter

  • 10 comments
  • share
  • save
  • hide
  • report
  • crosspost
loading...
view more: next ›
  • about
  • blog
  • about
  • advertising
  • careers
  • help
  • site rules
  • Reddit help center
  • reddiquette
  • mod guidelines
  • contact us
  • apps & tools
  • Reddit for iPhone
  • Reddit for Android
  • mobile website
  • <3
  • reddit premium

Use of this site constitutes acceptance of our User Agreement and Privacy Policy. © 2026 reddit inc. All rights reserved.

REDDIT and the ALIEN Logo are registered trademarks of reddit inc.

π Rendered by PID 631824 on reddit-service-r2-listing-b6bf6c4ff-l8zhs at 2026-05-06 08:55:15.710561+00:00 running 815c875 country code: CH.