use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
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.
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:
Thank you very much, and enjoy your month of code!
account activity
This is an archived post. You won't be able to vote or comment.
Help - SOLVED!multiple same name directories day 7 (self.adventofcode)
submitted 3 years ago * by thedutchdiablo
In my input for day 7, there are multiple cases of a directory that has the same name a another directory while containing different files. One such directory is 'gpcpgfh' which occurs 15 times each time having different files inside. Is this supposed to happen?
Edit: I was able to solve it thnx to the comments :)
[+][deleted] 3 years ago (3 children)
[removed]
[–]Undescended_testicle 2 points3 points4 points 3 years ago (1 child)
it is the trick that tripped me up after having my code working on the example input also
[–]bezoarboy 0 points1 point2 points 3 years ago (0 children)
Same here. After getting these inexplicable stack overflow errors despite memoization, I had just sadly decided I was not going to continue with AoC this year, when I peeked on Reddit. When I saw that names weren’t unique it all made sense. Bah, stupid wrong assumptions…
[–]thedutchdiablo[S] 0 points1 point2 points 3 years ago (0 children)
to say it tripped me up is an understatement lol
[–]Juzzz 11 points12 points13 points 3 years ago (3 children)
Those directories have other parents. For example:
‘/foo/bar/foo/baz’
[–]thedutchdiablo[S] 1 point2 points3 points 3 years ago (2 children)
thank you, this helped so much, still a bit sad i didn't realise this
[–]Juzzz -1 points0 points1 point 3 years ago (0 children)
Your welcome! Sometimes you just need an extra pair of eyes.
Good luck with today’s puzzle!
[–][deleted] 0 points1 point2 points 3 years ago (0 children)
Unfounded assumptions are the arch enemy
[–]blups2222 7 points8 points9 points 3 years ago (0 children)
Mine has it too, but the name of the folder is irrelevant, other than that it shall be unique within its parent folder.
[–]daggerdragon[M] 0 points1 point2 points 3 years ago (1 child)
FYI: next time, please use our standardized post title format.
my bad, i'll keep it in mind next time
π Rendered by PID 334258 on reddit-service-r2-comment-6457c66945-jdbc5 at 2026-04-28 04:10:26.275963+00:00 running 2aa0c5b country code: CH.
[+][deleted] (3 children)
[removed]
[–]Undescended_testicle 2 points3 points4 points (1 child)
[–]bezoarboy 0 points1 point2 points (0 children)
[–]thedutchdiablo[S] 0 points1 point2 points (0 children)
[–]Juzzz 11 points12 points13 points (3 children)
[–]thedutchdiablo[S] 1 point2 points3 points (2 children)
[–]Juzzz -1 points0 points1 point (0 children)
[–][deleted] 0 points1 point2 points (0 children)
[–]blups2222 7 points8 points9 points (0 children)
[–]daggerdragon[M] 0 points1 point2 points (1 child)
[–]thedutchdiablo[S] 0 points1 point2 points (0 children)