We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 321adde commit f86bd1cCopy full SHA for f86bd1c
1 file changed
skip-ahead-with-continue/aoc_2022_d7.py
@@ -20,10 +20,10 @@ def parse(lines):
20
# - We can do a "/".join(path)[1:] to get the full path, and drop the "/"
21
# - We maintain a dictionary of paths to files
22
# - The key is the full path
23
- # - The value is a list of tuples.
+ # - The value is a list of tuples
24
# - Each tuple contains the name and file size
25
#
26
- # Here's the plan when we get to each line.
+ # Here's the plan when we get to each line
27
# - if it's a cd command
28
# - If it's a directory name, we push that onto the end of the path list
29
# - If it's a .., we pop the last item off the path list
0 commit comments