Subarray Range With Given Sum Leetcode Solutions C