What happens if we modify the values of the original array after constructing a prefix sum array?
The prefix sum array will automatically update
The prefix sum array will keep the old values
The prefix sum array will update only the first element
The prefix sum array becomes invalid and needs to be recalculated
This question is part of this quiz :
Quiz on Prefix Sum for DSA