You are given an integer array nums and an integer threshold. Return the size k of any non empty contiguous subarray such that every element in that subarray is strictly greater than threshold / k.
If no such subarray exists, return
Note: If multiple subarrays satisfy the condition, you may return the size of any one of them.
Constraints:
nums.length
nums[i], threshold
You are given an integer array nums and an integer threshold. Return the size k of any non empty contiguous subarray such that every element in that subarray is strictly greater than threshold / k.
If no such subarray exists, return
Note: If multiple subarrays satisfy the condition, you may return the size of any one of them.
Constraints:
nums.length
nums[i], threshold