You are given an array of integers nums.
A subarray of nums is called continuous if, for any two elements at indices i and j in the subarray, nums[i] - nums[j]
Return the total number of continuous subarrays in nums.
Note: A subarray is a contiguous non empty sequence of elements within an array.
Constraints:
nums.length
nums[i]
You are given an array of integers nums.
A subarray of nums is called continuous if, for any two elements at indices i and j in the subarray, nums[i] - nums[j]
Return the total number of continuous subarrays in nums.
Note: A subarray is a contiguous non empty sequence of elements within an array.
Constraints:
nums.length
nums[i]