If on any Queue following operations are performed then sequence of number will be?
push (9), pop (), push (5), push (7), pop (), pop (), push (8), pop ()
1
5, 7, 8, 9
2
9, 5, 7, 8
3
8, 7, 5, 9
4
9, 5, 8, 7
If on any Queue following operations are performed then sequence of number will be?
push (9), pop (), push (5), push (7), pop (), pop (), push (8), pop ()