Pergunta de entrevista da empresa Tencent

some leetcode-style coding problems, mainly about array