Dream Security Interview Question

Easy-level LeetCode-style problem about arrays