Depth-Limited Search (DLS)

Home > Computer Science > Algorithms and data structures > Graph Traversal > Depth-Limited Search (DLS)

A variant of DFS that limits the maximum depth of nodes to be explored, to avoid going too deep into the graph.