Amazon interview question

Code a calculator in an LLD interview