Domanda di colloquio di Bloomberg

How to implement a priority stack with two stacks