2626. Array Reduce Transformation - Explanation

Problem Link