Optiver Interview Question

technical questions from the tasks