Your Dashboard
Interview Coaching
Learn
System Design
ML System Design
Code
Behavioral
Salary Negotiation
Interview Guides
Search
⌘K
Get Premium
Leetcode 1491. Average Salary Excluding the Minimum and Maximum Salary
Given an array of unique salaries, compute the average salary after excluding the minimum and maximum values (i.e., average of the remaining n-2 elements). Array length is between 3 and 100 and the result should be returned as a floating-point value.
Question Timeline
See when this question was last asked and where, including any notes left by other candidates.
All Regions
Comments
Hello Interview Premium
Your account is free and you can post anonymously if you choose.