CodeInsight Interview Question

about data structures and oops concept