Optiver Interview Question

I have been sent a Hackerrank exercise