Nagarro interview question

String manipulation , Arrays DS