Pregunta de entrevista de Accenture

Coding questions on strings and arrays