What will be the sequence of numbers, if the following operations are…
UP Police Computer Operator Grade A · 2016 · Computer Operator Grade A · 19 May 2016 Shift 2 · Computer Science
What will be the sequence of numbers, if the following operations are performed on a Queue? push(9), pop(), push(5), push(7), pop(), pop(), push(8), pop()
- A.
5, 7, 8, 9
- B.
9, 5, 8, 7
- C.
8, 7, 5, 9
- D.
9, 5, 7, 8
Attempted by 69 students.
Sign up free to check your answer
Sign up freeLoading lesson…