Domanda di colloquio di KPIT Technologies

Coding question on strings in hacckerank