1.

Which of the following is not an application of Breadth First Search?(a) Finding shortest path between two nodes(b) Finding bipartiteness of a graph(c) GPS navigation system(d) Path FindingI got this question in a national level competition.Question is taken from Breadth First Search in chapter Graph Search of Data Structures & Algorithms II

Answer»

Right choice is (d) Path Finding

Explanation: BREADTH FIRST Search can be applied to Bipartite a GRAPH, to find the shortest path between two nodes, in GPS Navigation. In Path finding, Depth First Search is used.



Discussion

No Comment Found

Related InterviewSolutions