LinkedIn interview question

Implement an RPN calculator in Java