A priority queue Q is used to implement a stack that stores characters. PUSH (C) is implemented as INSERT
(Q,C,K) where K is an appropriate integer key chosen by the implementation. POP is implemented as DELETEMIN (Q). For a sequence of operations, the keys chosen are in
- Anon-increasing order
- Bnon-decreasing order
- Cstrictly increasing order
- Dstrictly decreasing order