Amazon interview question

Implement a stack and reversal using stack.