Leetcode Subarray With Given Sum In Matlab Which Function Is Used To Fit