Search⌘ K
AI Features

Range Sum of Sorted Subarray Sums

Range Sum of Sorted Subarray Sums asks you to sort the sums of every non-empty continuous subarray, then add the entries from the given left position through right, modulo a large prime.

Statement

You are given an integer array nums containing ...