Concept Flow - Prefix Sum Array
Start with original array
Initialize prefix_sum array with first element
For each next element i
Calculate prefix_sum[i
Repeat until end of array
Prefix sum array ready
We start with the original array, then build a new array where each element is the sum of all elements up to that index.
