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()
- A.
6, 8, 5, 2
- B.
5, 2, 6, 8
- C.
5, 2, 8, 6
- D.
2, 5, 8, 6
Attempted by 25 students.
Sign up free to check your answer
Sign up freeLoading lesson…