Pergunta de entrevista da empresa Capital One

How would you implement a stack using queues?