Bloomberg Interview Question

How to implement a priority stack with two stacks