Broadridge Interview Question

Coding on String, array, hashmap