Frage im Vorstellungsgespräch bei Capital One

Implement a stack with only a queue and explain the time complexities?