Hack2skill interview question

Implement the stack operations in any programming language.