1508. Range Sum of Sorted Subarray Sums - Explanation

Problem Link