📢 Too many exams? Don’t know which one suits you best? Book Your Free Expert 👉 call Now!

  • google app store apple app store
  • ✖

      Question

       Which graph traversal algorithm uses a queue to

      explore vertices in a layer-by-layer fashion?
      A Depth-First Search (DFS) Correct Answer Incorrect Answer
      B Breadth-First Search (BFS) Correct Answer Incorrect Answer
      C Dijkstra's Algorithm Correct Answer Incorrect Answer
      D Prim's Algorithm Correct Answer Incorrect Answer
      E Kruskal's Algorithm Correct Answer Incorrect Answer

      Solution

      Answer: B) Breadth-First Search (BFS)

      Practice Next
      ask-question