Commit Graph

2 Commits

Author SHA1 Message Date
MasterofJOKers bc3599fff0 day07: Changes for part 2
Now that we have the sizes of the directories in a list, it's quite easy
to work with them to get part 2 using Iterator functions.
2022-12-20 00:48:04 +01:00
MasterofJOKers 2620d59a8f day07 Add part 1
I don't know, it doesn't feel like this is proper code. Referencing the
same object multiple times is just so much of a hassle and this code
looks pretty unsafe with all the unwraps.

In the end it turns out that I don't need a tree, but need to iterate
over all directories instead, which is again something quite hard for
me, because I don't know how to build iterators "manually".
2022-12-20 00:42:40 +01:00