Verily Interview Question

The problem was implementing a simple calculator