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

  1. A.

    I - 1; II - 2; III - 3

  2. B.

    I - 3; II - 1; III - 2

  3. C.

    I - 2; II - 3; III - 1

  4. D.

    I - 3; II - 2; III - 1

Attempted by 1838 students.

Sign up free to check your answer

Sign up free

Explore the full course: Gate Guidance By Sanchit Sir

Loading lesson…