Sail E0 Webinar
Question
When the Breadth First Search of a graph is unique?
Options:
A .  When the graph is a Binary Tree
B .  When the graph is a Linked List
C .  When the graph is a n-ary Tree
D .  None of the mentioned
Answer: Option B


When Every node will have one successor then the Breadth First Search is unique. In all other cases, when it will have more than one successor, it can choose any of them in arbitrary order.



Was this answer helpful ?
Next Question

Submit Solution

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

Latest Videos

Latest Test Papers