Skip to content

Commit

Permalink
fix the example also for the bonus task
Browse files Browse the repository at this point in the history
  • Loading branch information
vladak committed May 19, 2024
1 parent cb5c0ae commit dd2f6c7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion modules/home-assignments/dirtree.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ char *paths[] = {
#solution dirtree.c

Bonus tasks:
- Print also non-leaf nodes via depth first, with each node indented based on
- Print also non-leaf nodes via depth first traversal, with each node indented based on
its tree depth. E.g:

```
Expand All @@ -44,6 +44,7 @@ foo/
b.c
f.txt
bar/
c.c
```

- Remove the limitation for the constant number of children.
Expand Down

0 comments on commit dd2f6c7

Please sign in to comment.