Graph traversal - Depth first search|DFS
Sudhakar Atchala Sudhakar Atchala
182K subscribers
64,111 views
1.1K

 Published On Jul 21, 2019

#DFS #graphtraversal #depthfirstsearch

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