Amazon interview question

Coding: Binary Tree "expression" parser