Domanda di colloquio di Tencent

some leetcode-style coding problems, mainly about array