Given an integer array nums, return the number of elements that have both a strictly smaller and a strictly greater element present in nums.
Constraints:
nums.length
nums[i]
Given an integer array nums, return the number of elements that have both a strictly smaller and a strictly greater element present in nums.
Constraints:
nums.length
nums[i]