Question: when we applied the DFS isn't the output should look like A,X,H,E,M,J,Y,P,G according to alphabetical order ? Depth First Traversal of a Graph (a) Graph
when we applied the DFS isn't the output should look like A,X,H,E,M,J,Y,P,G according to alphabetical order ?
Depth First Traversal of a Graph (a) Graph
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
