Prudential Interview Question

Different data structures, OOP, string manipulation