Capital One interview question

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