Topic: Stack Problem / Level: intermediate

Problem: Write a program to push and pop elements from two stacks alternately, maintaining order.

Run the code to see the output here...