Optiver Interview Question

Math quiz questions.