you give array unique integer salary salaryi salary ith employeeReturn average salary employee exclude minimum maximum salary Answers 105 actual answer accept Example 1input salary 4000300010002000output 250000000explanation minimum salary maximum salary 1000 4000 respectivelyaverage salary exclude minimum maximum salary 20003000 2 2500example 2input salary 100020003000output 200000000explanation minimum salary maximum salary 1000 3000 respectivelyaverage salary exclude minimum maximum salary 2000 1 2000 Constraints3 salarylength 1001000 salaryi 106all integer salary unique