BFS (Breadth First Search) on an unweighted graph always explores level by level.
⇒ BFS always finds the shortest path. → (A) True
DFS (Depth First Search) explores deeply before backtracking. It can find a path, but not necessarily the shortest one.
⇒ DFS does not guarantee shortest path. → (C) True
(B) “DFS always finds the shortest path” → ❌ False.
(D) “BFS does not guarantee shortest path” → ❌ False.
✅ Correct Answer:
Online Test Series, Information About Examination,
Syllabus, Notification
and More.
Online Test Series, Information About Examination,
Syllabus, Notification
and More.