A queue data-structure can be used for −

2025

A queue data-structure can be used for −

  1. A.

    expression parsing

  2. B.

    recursion

  3. C.

    resource allocation

  4. D.

    all of the above

Attempted by 429 students.

Show answer & explanation

Correct answer: C

Answer : C

Explanation

Queues can be used for limited resource allocation. For other operations, stacks are used.

Explore the full course: Cocubes Preparation