think-cell Interview Question

To implement one method of special data structure