Pregunta de entrevista de Check Point Software Technologies

basic strings and subarray problem