Match the following algorithms with the data structure it uses.
Match the following algorithms with the data structure it uses.
Algorithm: I. Breadth first search; II. Heap sort; III. Depth first search
Data structure: 1. Stacks; 2. Queue; 3. Arrays
Show answerHide answer
Correct answer: (C) I – 2; II – 3; III – 1