Skip to content
Related Articles

Related Articles

Improve Article
GATE | Quiz for Sudo GATE 2021 | Question 20
  • Last Updated : 15 Dec, 2020

Which of the following is/are correct ?

Note – This question is multiple select questions (MSQ).
(A) BFS is vertex-based algorithm while DFS is an edge-based algorithm.
(B) Memory space is efficiently utilized in DFS while space utilization in BFS is not effective.
(C) BFS is optimal algorithm while DFS is not optimal.
(D) None of these


Answer: (A) (B) (C)

Explanation: Option (A), (B), and (C) are correct.

Refer – Difference between BFS and DFS

Quiz of this Question
Please comment below if you find anything wrong in the above post

Attention reader! Don’t stop learning now. Learn all GATE CS concepts with Free Live Classes on our youtube channel.

My Personal Notes arrow_drop_up
Recommended Articles
Page :