Depth-First Search (DFS)

Home > Computer Science > Algorithms and data structures > Graph Traversal > Depth-First Search (DFS)

A graph traversal algorithm that traverses a graph by exploring as far as possible along each branch before backtracking.