phishman3579/java-algorithms-implementation

want to add DFS

jitendra3109 opened this issue · 2 comments

Hey! @mciancia
Can I contribute your repo because I saw you have missed some graph part?
DFS and BFS which is standard agos.

DFS and BFS would be good addition to the Graph class, just make sure it can handle a graph with cycles.

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.