1.

The Breadth First Search traversal of a graph will result into?(a) Linked List(b) Tree(c) Graph with back edges(d) ArraysThe question was posed to me by my school teacher while I was bunking the class.My question is taken from Breadth First Search in section Graph Search of Data Structures & Algorithms II

Answer»

Correct CHOICE is (b) TREE

Explanation: The Breadth FIRST Search will make a GRAPH which don’t have BACK edges (a tree) which is known as Breadth First Tree.



Discussion

No Comment Found

Related InterviewSolutions