Broadridge interview question

Based on oops concepts and data structures.