Amazon Interview Question

Low level design for a calculator