You are given an array of distinct integers nums.
A subarray nums[i...j] with a length of at least nums[i], nums[j] nums[k]
Return the total number of bowl subarrays in nums.
Constraints:
nums.length
nums[i]
nums consists of distinct elements.
You are given an array of distinct integers nums.
A subarray nums[i...j] with a length of at least nums[i], nums[j] nums[k]
Return the total number of bowl subarrays in nums.
Constraints:
nums.length
nums[i]
nums consists of distinct elements.