Search
⌘K

Leetcode 3678. Smallest Absent Positive Greater Than Average

Given an integer array, compute its average (as a real number) and return the smallest positive integer strictly greater than that average which does not appear in the array. Essentially, find the minimal missing positive integer > mean(nums).


Question Timeline

See when this question was last asked and where, including any notes left by other candidates.

Comments

Your account is free and you can post anonymously if you choose.