Prudential interview question

Different data structures, OOP, string manipulation