Optiver interview question

Some quick mental math problems.