Pegasystems interview question

Implementation of stacks using queues