want to add DFS
jitendra3109 opened this issue · 2 comments
jitendra3109 commented
Hey! @mciancia
Can I contribute your repo because I saw you have missed some graph part?
DFS and BFS which is standard agos.
phishman3579 commented
DFS and BFS would be good addition to the Graph class, just make sure it can handle a graph with cycles.
jitendra3109 commented
I implemented main functionality which is given the adjacency matrix Z and given the root element you will get the Depth First Traversal path. Yes, it will be the handle of cycles.