Optiver interview question

Questions on C++ data structures