Bloomberg interview question

Implement a calculator in 45 mins