Leetcode 3152. Special Array II | Hello Interview