Microsoft Interview Question

Implement a calculator with +, * (, and ).