Tech Mahindra interview question

C++ algorithms,STL and oops concepts