Frage im Vorstellungsgespräch bei Spirent Communications

First Round: Implement a stack. How would you reverse the order of elements in the stack?