Which is/are the correct output stack permutation for the Input sequence in 1, 2, 3, 4, 5 and pop can occur at any time in stack?

1
5, 4, 3, 2, 1
2
2, 3, 5, 4, 1
3
3, 4, 1, 5, 2
4
4, 3, 5, 2, 1

Sponsored

hivanix.in

Visit

This quiz is brought to you by hivanix.in

🌐 Web App Development

Quick Navigation