Optiver interview question

quite basic. 3 programming one OO related other 2 algorithms and DS