Average Salary Excluding the Minimum and Maximum Salary

给一个数组, 里面是salary, 求除了最大和最小数的salary的平均数.