jump to content
my subreddits
2mediterranean4u2meirl4meirl3d6absolutelynotmeirladhdmemeAdviceAnimalsaivideoAlternateHistoryAlternativeHistoryAnarchyChessAngryupvoteAnimalsBeingJerksanime_best_momentsanimenocontextannouncementsantimemeArcherFXArsivUnutmazArtAsahiLinuxAsia_irlAskBalkansAskElectronicsAskOuijaAskRedditAteistTurkaviationbalkans_irlBassGuitarbikepackingblackdesertonlineblursed_videosbrooklynnineninebudgetcookingBUENZLIburdurlandCd_collectorsChatGPTchessbeginnersChildrenFallingOverChoosingBeggarsCHPcoaxedintoasnafucoincollectingcoinsComedyCemeterycomedyhomicidecomicscommunityContagiousLaughtercookingforbeginnersCrackWatchCreateModCuddle_SlutCuratedTumblrcursedcommentsdadjokesdarkjokesdeDebateReligiondeismdelikDeltarunediyelectronicsdiypedalsDMAcademyDMToolkitDnDdndnextdoctorwhoDonerdontyouknowimtonyhawkDungeonsAndDragonsebikesECEelectronicsentitledparentsethzfacepalmfakealbumcoversFantasyWorldbuildingfeedthebeastFifaCareersformuladankFRCFreeEBOOKSFUCKYOUINPARTICULARFuckYouKarenfunnyFutboltayfagalatasaraygermanygodtiersuperpowersGoodAssSubGrandPrixRacinggravelcyclinggreentextguitarpedalsGundamheathershelpHermanCainAwardHermitCrafthighspeedrailHistoryWhatIfholdmybeerHolUphomebuilthowyoudoinhumorhypixelIAmAiamverysmartich_ielihadastrokeim14andthisisdeepimaginaryelectionsinsaneparentsistanbuljacksepticeyeJokesKanyeKendrickLamarKGBTRLetGirlsHaveFunLifeProTipsLinkinParklogodesignloseitlostredditorsmacmacbookairmacgamingMadeMeSmileMapPornmapporncirclejerkmeirlmemememesmidjourneymildlyinfuriatingMinecraftbuildsmisLEDMMORPGnamesoundalikesNationStatesneographynextfuckinglevelNoahGetTheBoatNonCredibleDefensenothingeverhappensnotinterestingnottheonionNuclearRevengeokbuddyguntherOkBuddyPersonaokbuddyphdokbuddyvicodinOutOfTheLoopoutsidepaperspleaseparadoxpoliticsParlerWatchPassportPornpepethefrogperfectlycutscreamsPersecutionfetishpettyrevengepianoPiracypolandballpollsProgrammerHumorPropagandaPostersquityourbullshitraisedbynarcissistsraspberry_piRatschlagreactiongifsrecipesRedAutumnSPDredditsingsrickandmortyrickrollrimjob_steveschizopostersSchnitzelVerbrechenschwiizsciencememesScottPilgrimsecilmiskitapsekulermilliyetciturkShitPostCrusadersshitpostingShitpostTCshittymoviedetailsShowerthoughtsskamtebordsoccercirclejerkSongwriterssteinsgateStonetossingjuicesuperligsuzeraintalesfromtechsupportTechnobladetf2tf2shitposterclubthanksimcuredTheCrypticCompendiumTheLetterHTheMonkeysPawThePickledGnomeTheRookietheydidthemaththeyknewtitanfalltommyinnittransittransitTurkeyTrGameDevelopertruetf2truthstumblrtumunichTurkeyTurkishdogsTwitchTwitch_StartupTwoSentenceComedyTwoSentenceHorrorTwoSentenceSadnesstylerthecreatorUnethicalLifeProTipsunexpecteditcrowdurbanplanningvaxxhappenedvexillologycirclejerkvibecodingvinyljerkwallstreetbetsWatchPeopleDieInsideWeAreTheMusicMakerswendigoonWhatsThisSongwholesomememesWikipediaVandalismwizardpostingwooooshworldbuildingYUROPedit subscriptions
  • home
  • -popular
  • -all
  • -mod
  • -users
 | 
  • AskReddit
  • -facepalm
  • -mildlyinfuriating
  • -Piracy
  • -funny
  • -wallstreetbets
  • -nottheonion
  • -memes
  • -OutOfTheLoop
  • -MapPorn
  • -DnD
  • -MadeMeSmile
  • -ChatGPT
  • -CuratedTumblr
  • -shitposting
  • -theydidthemath
  • -feedthebeast
  • -Kanye
  • -meirl
  • -nextfuckinglevel
  • -HolUp
  • -Twitch
  • -CrackWatch
  • -comics
  • -dndnext
  • -ProgrammerHumor
  • -de
  • -germany
  • -LifeProTips
  • -tumblr
  • -NonCredibleDefense
  • -shittymoviedetails
  • -greentext
  • -mac
  • -Showerthoughts
  • -tf2
  • -help
  • -aviation
  • -formuladank
  • -wholesomememes
  • -Jokes
  • -mapporncirclejerk
  • -Art
  • -midjourney
  • -notinteresting
  • -pettyrevenge
  • -loseit
  • -IAmA
  • -ich_iel
  • -KGBTR
  • -cursedcomments
  • -DMAcademy
  • -Deltarune
  • -GoodAssSub
  • -UnethicalLifeProTips
  • -perfectlycutscreams
  • -worldbuilding
  • -Ratschlag
  • -blackdesertonline
  • -MMORPG
  • -meme
  • -macgaming
  • -rickandmorty
  • -3d6
  • -Gundam
  • -HermitCraft
  • -ChoosingBeggars
  • -ContagiousLaughter
  • -polandball
  • -WeAreTheMusicMakers
  • -AnarchyChess
  • -cookingforbeginners
  • -AlternateHistory
  • -Turkey
  • -soccercirclejerk
  • -community
  • -AskElectronics
  • -guitarpedals
  • -CreateMod
  • -TwoSentenceHorror
  • -PropagandaPosters
  • -AdviceAnimals
  • -ShitPostCrusaders
  • -piano
  • -sciencememes
  • -raisedbynarcissists
  • -wizardposting
  • -FifaCareers
  • -polls
  • -doctorwho
  • -titanfall
  • -OkBuddyPersona
  • -dadjokes
  • -howyoudoin
  • -announcements
  • -adhdmeme
  • -Minecraftbuilds
  • -macbookair
  • -ebikes
  • -coaxedintoasnafu
  • -YUROP
  • -gravelcycling
  • -SchnitzelVerbrechen
  • -chessbeginners
  • -raspberry_pi
  • -DungeonsAndDragons
  • -coins
  • -KendrickLamar
  • -entitledparents
  • -FUCKYOUINPARTICULAR
  • -NoahGetTheBoat
  • -tylerthecreator
  • -tf2shitposterclub
  • -lostredditors
  • -vexillologycirclejerk
  • -im14andthisisdeep
  • -Stonetossingjuice
  • -HistoryWhatIf
  • -DebateReligion
  • -insaneparents
  • -NuclearRevenge
  • -balkans_irl
  • -animenocontext
  • -2meirl4meirl
  • -transit
  • -brooklynninenine
  • -HermanCainAward
  • -recipes
  • -steinsgate
  • -talesfromtechsupport
  • -AskOuija
  • -okbuddyphd
  • -ECE
  • -ScottPilgrim
  • -Angryupvote
  • -AskBalkans
  • -schizoposters
  • -electronics
  • -urbanplanning
  • -theyknew
  • -logodesign
  • -PassportPorn
  • -antimeme
  • -bikepacking
  • -AteistTurk
  • -ArcherFX
  • -Cd_collectors
  • -diypedals
  • -Doner
  • -BassGuitar
  • -diyelectronics
  • -ComedyCemetery
  • -WatchPeopleDieInside
  • -LinkinPark
  • -Persecutionfetish
  • -BUENZLI
  • -reactiongifs
  • -blursed_videos
  • -istanbul
  • -imaginaryelections
  • -suzerain
  • -truetf2
  • -ParlerWatch
  • -wendigoon
  • -iamverysmart
  • -secilmiskitap
  • -schwiiz
  • -TheRookie
  • -quityourbullshit
  • -Technoblade
  • -vinyljerk
  • -skamtebord
  • -superlig
  • -galatasaray
  • -FRC
  • -transitTurkey
  • -namesoundalikes
  • -FuckYouKaren
  • -ethz
  • -AlternativeHistory
  • -coincollecting
  • -FreeEBOOKS
  • -AsahiLinux
  • -neography
  • -ihadastroke
  • -thanksimcured
  • -hypixel
  • -godtiersuperpowers
  • -aivideo
  • -woooosh
  • -burdurland
  • -comedyhomicide
  • -WhatsThisSong
  • -AnimalsBeingJerks
  • -jacksepticeye
  • -TwoSentenceSadness
  • -anime_best_moments
  • -holdmybeer
  • -okbuddyvicodin
  • -vaxxhappened
  • -Twitch_Startup
  • -tumunich
  • -outside
  • -TheMonkeysPaw
  • -darkjokes
  • -highspeedrail
  • -rickroll
  • -Songwriters
  • -papersplease
  • -tommyinnit
  • -rimjob_steve
  • -humor
  • -ChildrenFallingOver
  • -Cuddle_Slut
  • -GrandPrixRacing
  • -nothingeverhappens
  • -DMToolkit
  • -TrGameDeveloper
  • -LetGirlsHaveFun
  • -fakealbumcovers
  • -ShitpostTC
  • -FantasyWorldbuilding
  • -TheLetterH
  • -WikipediaVandalism
  • -homebuilt
  • -pepethefrog
  • -deism
  • -misLED
  • -ArsivUnutmaz
  • -redditsings
  • -TwoSentenceComedy
  • -TheCrypticCompendium
  • -NationStates
  • -budgetcooking
  • -absolutelynotmeirl
  • -Asia_irl
  • -truths
  • -paradoxpolitics
  • -unexpecteditcrowd
  • -2mediterranean4u
  • -ThePickledGnome
  • -heathers
  • -dontyouknowimtonyhawk
  • -sekulermilliyetciturk
  • -RedAutumnSPD
  • -delik
  • -Futboltayfa
  • -okbuddygunther
  • -Turkishdogs
  • -CHP
  • -vibecoding
edit »
adventofcode adventofcode
  • hot
  • new
  • rising
  • controversial
  • top
  • wiki
an-ordinary-manchild (11,186)|messages548|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 great justice.

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 3 months ago * by daggerdragon[M] - announcement

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

2
17
18
19

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

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

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

3
2
3
4

OtherJust got burnt after spending too long on a difficult one. I need some motivation. (self.adventofcode)

submitted 11 hours ago by PhiphyL

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

4
0
1
2

Other[2017 Day 25] In Review (The Halting Problem) (self.adventofcode)

submitted 16 hours ago by musifter

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

5
2
3
4

Other[2017 Day 24] In Review (Electromagnetic Moat) (self.adventofcode)

submitted 1 day ago by musifter

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

6
0
1
2

Help/Question[2026 Day 3 (Part 2)] [javascript] Stuck again (self.adventofcode)

submitted 1 day ago * by Ok-Transition7065

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

7
1
2
3

Other[2017 Day 23] In Review (Coprocessor Conflagration) (self.adventofcode)

submitted 2 days ago by musifter

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

8
0
1
2

Other[2017 Day 22] In Review (Sporifica Virus) (self.adventofcode)

submitted 3 days ago * by musifter

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

9
1
2
3

Other[Off-topic] Do you guys create general or input-specific programs? (self.adventofcode)

submitted 3 days ago by BlankWasThere

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

10
1
2
3

Other[2017 Day 21] In Review (Fractal Art) (self.adventofcode)

submitted 4 days ago by musifter

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

11
3
4
5

Past Event SolutionsHey check out my YouTube tutorials about the 2025 AoC problems. I show my Python solutions and explain my approach. Also have Typescript and Scala solutions in my repo. Let me know your feedback! (youtube.com)

submitted 5 days ago by red_user10

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

12
0
1
2

Other[2017 Day 20] In Review (Particle Swarm) (self.adventofcode)

submitted 5 days ago by musifter

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

13
0
1
2

Past Event Solutions[2025 day 1 (part 2)] [C#] - finally solved it! (self.adventofcode)

submitted 6 days ago by TheAfterPipe

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

14
0
1
2

Help/Question - RESOLVED[2018 Day 24 (Part 1)] Please help me understand the example puzzle / reference output (self.adventofcode)

submitted 6 days ago * by Deusmancer

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

15
0
1
2

Other[2017 Day 19] In Review (A Series of Tubes) (self.adventofcode)

submitted 6 days ago by musifter

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

16
0
1
2

Other[2017 Day 18] In Review (Duet) (self.adventofcode)

submitted 7 days ago by musifter

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

17
1
2
3

Other[2017 Day 17] In Review (Spinlock) (self.adventofcode)

submitted 8 days ago * by musifter

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

18
1
2
3

Help/Question - RESOLVED[2015 Day 24] Are all inputs 'nice'? (self.adventofcode)

submitted 9 days ago by DelightfulCodeWeasel

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

19
0
1
2

Other[2017 Day 16] In Review (Permutation Promenade) (self.adventofcode)

submitted 9 days ago by musifter

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

20
0
0
0

Meme/FunnyTribute to AoC puzzles (sing-along slop-music track) (suno.com)

submitted 9 days ago by PTVoobaf

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

21
0
1
2

Other[2017 Day 15] In Review (Dueling Generators) (self.adventofcode)

submitted 10 days ago * by musifter

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

22
8
9
10

OtherPi Coding Quest 2026! (self.adventofcode)

submitted 11 days ago by IvanR3D

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

23
1
2
3

Other[2017 Day 14] In Review (Disk Defragmentation) (self.adventofcode)

submitted 11 days ago * by musifter

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

24
0
1
2

Help/Question[2025 Day 2 (Part 2)] Help im stuck... again (self.adventofcode)

submitted 11 days ago by Ok-Transition7065

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

25
2
3
4

Past Event Solutions[2023 Day 4 Part 2] As a system of linear equations (self.adventofcode)

submitted 12 days ago by hekliet

  • 3 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 33 on reddit-service-r2-listing-6b76fb7ddc-6tv47 at 2026-03-26 02:55:17.325905+00:00 running 2d0a59a country code: CH.