Array Reduction 3 Leetcode 15084