Skip to content

Commit

Permalink
add sub-section
Browse files Browse the repository at this point in the history
  • Loading branch information
vladak committed May 20, 2024
1 parent f8373cc commit 84aaa01
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions modules/home-assignments/dirtree.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,10 @@ char *paths[] = {

#solution dirtree.c

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

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

```
$ ./a.out
Expand All @@ -47,5 +48,5 @@ bar/
c.c
```

- Remove the limitation for the constant number of children.
- Print full paths of all files in the tree (hint: backpointers)
- Remove the limitation for the constant number of children.
- Print full paths of all files in the tree (hint: backpointers)

0 comments on commit 84aaa01

Please sign in to comment.