Suppose we have two stacks and no other temporary variable. Is to possible to "construct" a queue data struct
What is the best way to implement a Stack and a Queue in JavaScript? I'm looking to do the shunting-yard