Domanda di colloquio di Dream Security

Easy-level LeetCode-style problem about arrays