Depth First Search Algorithm
Go GATE IIT Go GATE IIT
24.3K subscribers
1,584,953 views
0

 Published On Feb 17, 2013

This is one of the important Graph traversal technique. DFS is based on stack data structure.

Analysis:

The time complexity of DFS using Adjacency list is O(V + E) where V & E are the vertices and edges of the graph respectively.

show more

Share/Embed