Skip to content
Related Articles

Related Articles

GATE | Quiz for Sudo GATE 2021 | Question 20

View Discussion
Improve Article
Save Article
  • 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

My Personal Notes arrow_drop_up
Recommended Articles
Page :

Start Your Coding Journey Now!