You are given an integer array nums.
An index i is called dominant if there is at least nums[i] is strictly greater than the average of all elements to its right.
Return the total number of dominant indices in nums.
Constraints:
nums.length
nums[i]
You are given an integer array nums.
An index i is called dominant if there is at least nums[i] is strictly greater than the average of all elements to its right.
Return the total number of dominant indices in nums.
Constraints:
nums.length
nums[i]