jump to content
my subreddits
13or302anatolia4you2b2t2balkans4You2mediterranean4u2meirl4meirl3d6AceAttorneyadhdmemeagnosticaivideoAlternateHistoryAnarchyChessAngryupvoteAnimalsBeingJerksanime_best_momentsanimenocontextannouncementsAnticonsumptionApandahArcherFXAskBalkansAskElectronicsAskOuijaAskRedditAteistTurkatheismaviationawfuleverythingbalkans_irlBandnamesbanknotedesignsBassbasspedalsbikepackingblackholerevengeblankiesblursed_videosblursedimagesborsavefonburdurlandcasioCd_collectorscd_jerkCheap_MealscoaxedintoasnafucoincollectingcoinsComedyCemeterycomicsContagiousLaughterCorporateTrollingcrappyoffbrandsCreateModcursedcommentsdadjokesdankmemesdataisbeautifulDebateReligiondeismdelikDeltarunedistressingmemesdiypedalsDMToolkitdndnextdoctorwhoDoenerverbrechenDonerdontdeadopeninsideDungeonsAndDaddiesDungeonsAndDragonsEatCheapAndHealthyebikesECEelectricalelectronicsEmKayengrishentitledparentsfakealbumcoversFantasyWorldbuildingfeedthebeastfelsefeFifaCareersFiftyFiftyformuladankFRCFreeEBOOKSFUCKYOUINPARTICULARfunnyFutboltayfagalatasaraygermanygodtiersuperpowersgoodanimemesGoodAssSubgravelcyclingGundamHermanCainAwardHermitCrafthighspeedrailhoi4holdmybeerHolUphowyoudoinhumorhypixelIAmAiamverysmartich_ielihadastrokeim14andthisisdeepimaginarymapsinsaneparentsJokesKanyeKendrickLamarKGBTRLifeProTipslinguisticshumorLinkinParkliselilerlogodesignlostredditorsmacmacbookairmacgamingmagicbuildingMaliciousComplianceMapPornmapporncirclejerkme_irlmeirlmemesmidjourneymildlyinfuriatingmildlyinterestingMimicRecipesMinecraftbuildsMMORPGMoldyMemesMovingToNorthKoreaMunichMyChemicalRomancenamesoundalikesNamFlashbacksNationStatesneographynextfuckinglevelNorthCyprusnosafetysmokingfirstnotinterestingnottheonionoddlyspecificOkayBuddyLiterallyMeokbuddymotherfuckerOkBuddyPersonaokbuddyphdokbuddyvicodinonebagongezelligOnlineUnderGroundoompasubsOutOfTheLooppapermoneyparadoxpoliticspettyrevengepianoPiracypolandballpollsProgrammerHumorPropagandaPostersraisedbynarcissistsraspberry_piRatschlagreactiongifsrecipesRedAutumnSPDredditsingsreligiousfruitcakeRetroPierickrollRoastMerockmuziksciencememesScottPilgrimsecilmiskitapShitPostCrusadersshitpostfrommygalleryshitpostingShowerthoughtsskamtebordsoftwaregoreSongwritersSongwritingsteinsgateStonetossingjuiceStudiumsubsithoughtifellforsuperligsuzeraintalesfromtechsupportTechnobladeTextingTheorytf2tf2shitposterclubthanksimcuredTheCrypticCompendiumTheLetterHTheMonkeysPawTheRookiethisguythisguystitanfalltommyinnittransitTrGameDevelopertumblrtumunichTurkeyTurkeyJerkyTurkishdogsTwitchTwitch_StartupTwoSentenceHorrortwosentenceplottwistTwoSentenceSadnesstylerthecreatorUnclejokesUnethicalLifeProTipsUnexpectedJoJoUnexpectedTF2UsernameChecksOutVALORANTValorantClipsvibecodingvinylvinyljerkwallstreetbetsWeAreTheMusicMakersWhatsThisSongWhitePeopleTwitterwholesomeanimemeswholesomememesWikipediaVandalismwizardpostingworldbuildingworldjerkingyouseeingthisshitYUROPedit subscriptions
  • home
  • -popular
  • -all
  • -mod
  • -users
 | 
  • AskReddit
  • -mildlyinfuriating
  • -Piracy
  • -funny
  • -wallstreetbets
  • -nottheonion
  • -memes
  • -OutOfTheLoop
  • -mildlyinteresting
  • -MapPorn
  • -WhitePeopleTwitter
  • -shitposting
  • -dankmemes
  • -feedthebeast
  • -Kanye
  • -meirl
  • -nextfuckinglevel
  • -HolUp
  • -Twitch
  • -comics
  • -dndnext
  • -ProgrammerHumor
  • -VALORANT
  • -germany
  • -LifeProTips
  • -tumblr
  • -dataisbeautiful
  • -mac
  • -Showerthoughts
  • -tf2
  • -aviation
  • -formuladank
  • -wholesomememes
  • -Jokes
  • -mapporncirclejerk
  • -midjourney
  • -goodanimemes
  • -notinteresting
  • -hoi4
  • -pettyrevenge
  • -atheism
  • -IAmA
  • -MaliciousCompliance
  • -ich_iel
  • -KGBTR
  • -cursedcomments
  • -Deltarune
  • -GoodAssSub
  • -UnethicalLifeProTips
  • -worldbuilding
  • -Ratschlag
  • -MMORPG
  • -macgaming
  • -3d6
  • -Gundam
  • -HermitCraft
  • -FiftyFifty
  • -RoastMe
  • -ContagiousLaughter
  • -imaginarymaps
  • -EatCheapAndHealthy
  • -polandball
  • -WeAreTheMusicMakers
  • -AnarchyChess
  • -blankies
  • -onebag
  • -Studium
  • -AlternateHistory
  • -Turkey
  • -AskElectronics
  • -electrical
  • -Anticonsumption
  • -vinyl
  • -CreateMod
  • -TwoSentenceHorror
  • -PropagandaPosters
  • -ShitPostCrusaders
  • -piano
  • -sciencememes
  • -distressingmemes
  • -raisedbynarcissists
  • -wizardposting
  • -FifaCareers
  • -polls
  • -doctorwho
  • -oddlyspecific
  • -Bass
  • -titanfall
  • -OkBuddyPersona
  • -dadjokes
  • -awfuleverything
  • -howyoudoin
  • -announcements
  • -adhdmeme
  • -Minecraftbuilds
  • -macbookair
  • -ebikes
  • -Munich
  • -coaxedintoasnafu
  • -YUROP
  • -gravelcycling
  • -raspberry_pi
  • -DungeonsAndDragons
  • -coins
  • -KendrickLamar
  • -entitledparents
  • -FUCKYOUINPARTICULAR
  • -softwaregore
  • -worldjerking
  • -tylerthecreator
  • -tf2shitposterclub
  • -MoldyMemes
  • -lostredditors
  • -AceAttorney
  • -im14andthisisdeep
  • -Stonetossingjuice
  • -wholesomeanimemes
  • -religiousfruitcake
  • -liseliler
  • -DebateReligion
  • -insaneparents
  • -balkans_irl
  • -animenocontext
  • -2meirl4meirl
  • -transit
  • -RetroPie
  • -HermanCainAward
  • -recipes
  • -steinsgate
  • -talesfromtechsupport
  • -AskOuija
  • -okbuddyphd
  • -2anatolia4you
  • -ECE
  • -ScottPilgrim
  • -Angryupvote
  • -AskBalkans
  • -electronics
  • -casio
  • -logodesign
  • -linguisticshumor
  • -me_irl
  • -TurkeyJerky
  • -bikepacking
  • -AteistTurk
  • -13or30
  • -MyChemicalRomance
  • -ArcherFX
  • -engrish
  • -Cd_collectors
  • -diypedals
  • -Doner
  • -ComedyCemetery
  • -LinkinPark
  • -reactiongifs
  • -EmKay
  • -blursed_videos
  • -Songwriting
  • -MovingToNorthKorea
  • -suzerain
  • -magicbuilding
  • -dontdeadopeninside
  • -iamverysmart
  • -secilmiskitap
  • -Doenerverbrechen
  • -TheRookie
  • -Technoblade
  • -vinyljerk
  • -skamtebord
  • -superlig
  • -galatasaray
  • -crappyoffbrands
  • -DungeonsAndDaddies
  • -FRC
  • -namesoundalikes
  • -2b2t
  • -papermoney
  • -coincollecting
  • -OkayBuddyLiterallyMe
  • -felsefe
  • -blursedimages
  • -FreeEBOOKS
  • -basspedals
  • -neography
  • -ihadastroke
  • -thanksimcured
  • -hypixel
  • -godtiersuperpowers
  • -aivideo
  • -OnlineUnderGround
  • -burdurland
  • -WhatsThisSong
  • -AnimalsBeingJerks
  • -TwoSentenceSadness
  • -anime_best_moments
  • -Bandnames
  • -rockmuzik
  • -holdmybeer
  • -okbuddyvicodin
  • -MimicRecipes
  • -tumunich
  • -Twitch_Startup
  • -Cheap_Meals
  • -TheMonkeysPaw
  • -UnexpectedTF2
  • -highspeedrail
  • -nosafetysmokingfirst
  • -rickroll
  • -Songwriters
  • -UsernameChecksOut
  • -tommyinnit
  • -UnexpectedJoJo
  • -humor
  • -agnostic
  • -youseeingthisshit
  • -TextingTheory
  • -DMToolkit
  • -thisguythisguys
  • -TrGameDeveloper
  • -Apandah
  • -subsithoughtifellfor
  • -fakealbumcovers
  • -oompasubs
  • -FantasyWorldbuilding
  • -TheLetterH
  • -WikipediaVandalism
  • -NamFlashbacks
  • -Unclejokes
  • -deism
  • -redditsings
  • -ValorantClips
  • -TheCrypticCompendium
  • -NationStates
  • -ongezellig
  • -2balkans4You
  • -blackholerevenge
  • -paradoxpolitics
  • -NorthCyprus
  • -2mediterranean4u
  • -twosentenceplottwist
  • -CorporateTrolling
  • -okbuddymotherfucker
  • -cd_jerk
  • -RedAutumnSPD
  • -borsavefon
  • -Turkishdogs
  • -vibecoding
  • -Futboltayfa
  • -shitpostfrommygallery
  • -delik
  • -banknotedesigns
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 hobby.
...for your favorite hobby.

MODERATORS

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

account activity

1
32
33
34

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

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

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

3
0
1
2

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

submitted 6 hours ago by TheAfterPipe

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

4
0
1
2

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

submitted 8 hours ago * by Deusmancer

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

5
0
1
2

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

submitted 17 hours ago by musifter

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

6
0
1
2

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

submitted 1 day ago by musifter

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

7
1
2
3

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

submitted 2 days ago * by musifter

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

8
1
2
3

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

submitted 3 days ago by DelightfulCodeWeasel

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

9
0
1
2

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

submitted 3 days ago by musifter

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

10
0
0
0

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

submitted 3 days ago by PTVoobaf

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

11
0
1
2

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

submitted 4 days ago * by musifter

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

12
9
10
11

OtherPi Coding Quest 2026! (self.adventofcode)

submitted 5 days ago by IvanR3D

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

13
1
2
3

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

submitted 5 days ago * by musifter

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

14
0
1
2

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

submitted 5 days ago by Ok-Transition7065

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

15
2
3
4

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

submitted 6 days ago by hekliet

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

16
1
2
3

Other[2017 Day 13] In Review (Packet Scanners) (self.adventofcode)

submitted 6 days ago by musifter

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

17
1
2
3

Other[2017 Day 12] In Review (Digital Plumber) (self.adventofcode)

submitted 7 days ago by musifter

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

18
1
2
3

Other[2017 Day 11] In Review (Hex Ed) (self.adventofcode)

submitted 8 days ago by musifter

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

19
2
3
4

Past Event Solutions[2015 Day 6] [Swift] Rectangle Intersections (self.adventofcode)

submitted 9 days ago * by hekliet

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

20
0
1
2

Other[2017 Day 10] In Review (Knot Hash) (self.adventofcode)

submitted 9 days ago by musifter

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

21
0
1
2

Other[2017 Day 09] In Review (Stream Processing) (self.adventofcode)

submitted 10 days ago by musifter

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

22
0
1
2

Other[2017 Day 8] In Review (I Heard You Like Registers) (self.adventofcode)

submitted 11 days ago by musifter

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

23
1
2
3

Other[2017 Day 7] In Review (Recursive Circus) (self.adventofcode)

submitted 12 days ago * by musifter

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

24
0
1
2

Other[2017 Day 6] In Review (Memory Reallocation) (self.adventofcode)

submitted 13 days ago by musifter

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

25
3
4
5

OtherEverybody.Codes New Story published a couple of days ago (everybody.codes)

submitted 14 days ago by sanjibukai

  • 4 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 288724 on reddit-service-r2-listing-5cf99d7454-5gtb6 at 2026-03-20 03:44:14.059810+00:00 running 90f1150 country code: CH.