EY interview question

String manipulations and collections related programs.