|
|
|
|
|
|
|
|
path[1] :V(3)-> V(6)-> V(10)
path[2] :V(3)-> V(7)-> V(8)-> V(10)
path[3] :V(3)-> V(7)-> V(8)-> V(11)
path[4] :V(3)-> V(7)-> V(9)-> V(11)
|
DFS from V(3) : 3-> 6-> 10-> 7-> 8-> 10-> 11-> 9-> 11 |
| 1) i know its a silly question but how to print out all the paths starting from node 3 like below: |