Frage im Vorstellungsgespräch bei Foxit

It is a very classic coding question: implement a stack class from scratch, and implement pop and push functions. coding in c++