"If the following operations are performed on an initially empty stack, what is the sequence of numbers that are popped?"

push(5), push(7), pop (), push ( 8 ), push (6), pop (), pop (), pop ()

1
7, 6, 8, 5
2
5, 8, 6, 7
3
7, 6, 5, 8
4
More than one of the above
5
None of the above

Sponsored

hivanix.in

Visit

This quiz is brought to you by hivanix.in

🌐 Web App Development

Quick Navigation