Pergunta de entrevista da empresa Dream Security

Easy-level LeetCode-style problem about arrays