Optiver Interview Question

Two coding questions, both relatively easy. The a lot of multiple answer questions.