Algorithms

Select the correct name for: a graph traversal algorithm that explores as far as possible along each branch before backtracking.

Correct answer

B. Depth-first search (DFS)

Explanation

Depth-first search (DFS) refers to a graph traversal algorithm that explores as far as possible along each branch before backtracking.