Subarray Range With Given Sum Leetcode Contest Rating