Pregunta de entrevista de Publicis Sapient

Question based on string in programming.