Optiver Interview Question

Arithmetic