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

  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 1471 students.

Show answer

Correct answer: C

The worked solution is available to enrolled students.

Explore the full course: Iocl Engineers Officers Grade A Paper 2

Loading lesson…