Pregunta de entrevista de Salesforce

How would you implement a Stack if you're given access to a Queue API and only the Queue API?