Subarray with given sum practice. … There could be 2 possible approach for this.