Broadridge Interview Question

Based on oops concepts and data structures.