I just completed "No Space Left On Device" - Day 7 - Advent of Code 2022 #AdventOfCode https://adventofcode.com/2022/day/7 @mickylindlar
@marhop meh. i'm stuck on day 7 of #AdventOfCode . I'm sure I have a very dumb mistake somewhere ... the code works for the example given in the text, but not for the input file. i must've drained my brain somewhere along the lines.
@mickylindlar Have you considered that 2 directories may have the same name? That tripped me up for a while.
@fuddster @mickylindlar Yeah, I also read about problems with duplicate entries somewhere. I seem to have avoided these because I deliberately created (even more) duplicates when compiling the list, and because of that cleaned it up anyway. 😂 Maybe just turn your list into a set?
@marhop ended up being too tired after the #OPFOAG yesterday .... i gave it a quick try and then fell asleep over it. will have to catch up on the train ride today.