Subarray Range With Given Sum Leetcode Javascript Practice Problems