Subarray Range With Given Sum Leetcode Solutions With Explanation