Optiver Interview Question

Standard mental math questions