think-cell interview question

make specified data structure with stl lib