Question DSA-QUE-0053
MediumWhy does BFS on an unweighted graph find shortest paths?
- A.
The queue processes vertices in order of distance from the source
- B.
It visits vertices randomly
- C.
Sign up free to see the answer and a step-by-step explanation.