Quiz on Prefix Sum for DSA: Question 2

Last Updated :
Discuss
Comments

In what scenarios is the prefix sum technique particularly useful?

When performing a merge sort

When the array has duplicate elements

When you need to compute the sum of elements in a range frequently

When you need to find the minimum element in an array

Tags:
Share your thoughts in the comments