Pregunta de entrevista de BlackBerry

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