Medium-EasyUnderstandGraphsopen_ended

Why must BFS (not DFS) be used to guarantee shortest path in unweighted graphs?

Understand Tests comprehension and ability to explain concepts.

Want to see the correct answer?

Get the answer with a detailed explanation, plus practice 33+ more Graphs questions with adaptive quizzes and timed interviews.

See the Answer on Guru Sishya →

This question is from the Graphs topic (Algorithms).

More Graphs Questions