3759. Count Elements With at Least K Greater Values
You are given an integer array
numsof lengthnand an integerk.An element in
numsis said to be qualified if there exist at leastkelements in the array that are strictly greater than it.Return an integer denoting the total number of qualified elements in
nums.
1 | class Solution { |