CodeInsight interview question

about data structures and oops concept