Given an integer array nums, determine the number of elements in the array that are strictly smaller than each nums[i]. That is, for each index i, count the number of valid indices j such that j != i and nums[j] < nums[i].
Return the answer in an array.
Constraints:
nums.length
nums[i]
Given an integer array nums, determine the number of elements in the array that are strictly smaller than each nums[i]. That is, for each index i, count the number of valid indices j such that j != i and nums[j] < nums[i].
Return the answer in an array.
Constraints:
nums.length
nums[i]