Domanda di colloquio di WorldQuant

How can you make a queue with a couple of stack