RTX interview question

How to implement a stack.