Leetcode 2626. Array Reduce Transformation | Hello Interview