Optiver interview question

C++, algorithms and data-structures