Implementation of a queue ADT using two stacks