If the elements  2, 17, 11, 11, 7  are placed in a queue and 3 dequeue operations are performed one at a time and the items dequeued are placed onto the stack.

Now 3 pop operations are performed on stack and the items popped are enqueued in the queue. What is the state of queue?

1
2, 17, 11, 11 and 7
2
11, 7, 11, 2 and 17
3
11, 7, 11, 17 and 2
4
11, 7, 2, 17 and 2

Sponsored

hivanix.in

Visit

This quiz is brought to you by hivanix.in

🌐 Web App Development

Quick Navigation