Texas Instruments Interview Question

Implement push and pop operations on a stack.