Sail E0 Webinar
Question
The Data structure used in standard implementation of Breadth First Search is?
Options:
A .  Stack
B .  Queue
C .  Linked List
D .  None of the mentioned
Answer: Option A


The Depth First Search is implemented using recursion. So, stack can be used as data structure to implement depth first search.



Was this answer helpful ?
Next Question

Submit Solution

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

Latest Videos

Latest Test Papers