think-cell Interview Question

Building a data structure using c++.