ITCON Services interview question

different data structures