If the following operations are done on Queue, then what will be the sequence…

UP Police Computer Operator Grade A · 2016 · Computer Operator Grade A · 19 May 2016 Shift 1

If the following operations are done on Queue, then what will be the sequence of institutions? push(2). push(5). pop(). pop(). push(8). push(6). pop(). pop()

  1. A.

    6, 8, 5, 2

  2. B.

    5, 2, 6, 8

  3. C.

    5, 2, 8, 6

  4. D.

    2, 5, 8, 6

Attempted by 25 students.

Sign up free to check your answer

Sign up free

Explore the full course: Gate Guidance By Sanchit Sir

Loading lesson…