think-cell interview question

Implement a particular data structure in C++