Optiver interview question

Data structures