Acceletrade interview question

Data structures and Algorithm, C/C++