Optiver Interview Question

Did not go through the second step