Pergunta de entrevista da empresa BlackBerry

Implement a queue using stack, think about run time performance and optimization