Optiver interview question

Have a good understanding of data structures