Graph DFS

Category: Graphs

Difficulty: intermediate

Description: Depth-first traversal of graphs

Time Complexity: O(V+E)

Space Complexity: O(V)

Related LeetCode Problems