Pregunta de entrevista de Sokrati

question based on substring search