This lesson is for subscribers
You've completed the free preview. Subscribe to unlock every lesson in every course.
Analyze DFS runtime as O(V + E) for adjacency lists and O(V²) for adjacency matrices.
You've completed the free preview. Subscribe to unlock every lesson in every course.