You are given an array of unique integers salary where salary[i] is the salary of the ith employee.
Return the average salary of employees excluding the minimum and maximum salary. Answers within 10^-5 of the actual answer will be accepted.
3 <= salary.length <= 1001000 <= salary[i] <= 10^6salary are uniquesalary = [4000, 3000, 1000, 2000]2500.00000salary = [1000, 2000, 3000]2000.00000