Skip to content
Related Articles

Related Articles

ISRO | ISRO CS 2018 | Question 8
  • Last Updated : 05 Jul, 2018

Which of the following is application of Breath First Search on the graph?
(A) Finding diameter of the graph
(B) Finding bipartite graph
(C) Both (a) and (b)
(D) None of the above


Answer: (C)

Explanation: BFS is used to Find the diameter of the graph and to test whether a graph is bipartite or not. BFS has many other applications also.

Refer: Applications of Breadth First Traversal

Option (C) is correct.

Quiz of this Question

Attention reader! Don’t stop learning now. Get hold of all the important DSA concepts with the DSA Self Paced Course at a student-friendly price and become industry ready.

My Personal Notes arrow_drop_up
Recommended Articles
Page :