BFS guarantees finding the shortest path in an unweighted graph because it explores nodes in _______ order.

  • Increasing
  • Lexicographical
  • Non-decreasing
  • Non-increasing
BFS guarantees finding the shortest path in an unweighted graph because it explores nodes in increasing order. As it systematically traverses nodes level by level, the first time a node is encountered, it is reached through the shortest path.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *