Open In App

Algorithms | Graph Traversals | Question 12

What are the appropriate data structures for following algorithms?

1) Breadth-First Search                           
2) Depth First Search                            
3) Prim\’s Minimum Spanning Tree                 
4) Kruskal\’ Minimum Spanning Tree                



(A)

(B)



(C)

(D)


Answer: (B)
Explanation:

Hence Option(B) is the correct answer.

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

Article Tags :