Amazon Interview Question

2) parse and compute a string in reverse polish notation