Topic: Stack Problem / Level: intermediate

Problem: Create a function to simulate a stack-based queue using two stacks.

Run the code to see the output here...