Register Now

Login

Lost Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Which data structure conveniently used to implement BFS?

a) Stacks
b) Queues
c) Priority Queues
d) All of the mentioned

Answer: b
Explanation: Queue is the most convenient data structure, but memory used to store nodes can be reduced by using circular queues.

Join The Discussion