Uber interview question

Complete a numerical test