Akridata interview question

String manipulation