Skip to content

Commit 25f81fc

Browse files
committed
Update README.md
1 parent 2a256ed commit 25f81fc

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

Graph/README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,3 +44,11 @@ DFS_visit(v)
4444
4545
order.reverse()
4646
```
47+
### Result
48+
49+
```
50+
Parent: {a=null, b=a, e=b, d=e, c=null, f=c}
51+
Order: [d, e, b, a, f, c]
52+
Edges: {(e, d)=tree, (c, e)=cross, (c, f)=tree, (a, d)=forward, (a, b)=tree, (b, e)=tree, (d, b)=back, (f, f)=back}
53+
54+
```

0 commit comments

Comments
 (0)