Match the following algorithms with the data structure it uses. Algorithm Data…
BEL · Computer Science · Probationary Engineer · 2023
Match the following algorithms with the data structure it uses.
Algorithm | Data structure |
I. Breadth first search | 1. Stacks |
II. Heap sort | 2. Queue |
III. Depth first search | 3. Arrays |
- A.
I - 1; II - 2; III - 3
- B.
I - 3; II - 1; III - 2
- C.
I - 2; II - 3; III - 1
- D.
I - 3; II - 2; III - 1
Attempted by 1471 students.
Show answer
Correct answer: C
Explore the full course: Iocl Engineers Officers Grade A Paper 2
Loading lesson…