Match the following algorithms with the data structure it uses. Algorithm Data…
BEL 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 1838 students.
Sign up free to check your answer
Sign up freeLoading lesson…

