Pergunta de entrevista da empresa Check Point Software Technologies

basic strings and subarray problem