Course contentsShow
Computer Science
Lesson 717 of 2,87217. Graph Traversal AlgorithmsPro lesson

DFS Time Complexity Analysis

Analyze DFS runtime as O(V + E) for adjacency lists and O(V²) for adjacency matrices.

This lesson is for subscribers

You've completed the free preview. Subscribe to unlock every lesson in every course.