Amazon Interview Question

Arithmetic expressions tree constructing validating paraing calculating