Search
⌘K

Leetcode 1287. Element Appearing More Than 25% In Sorted Array

Given a non-decreasing integer array that contains exactly one value occurring in more than 25% of elements, return that value. The sorted order lets you identify this frequent element efficiently by inspecting elements at strategic positions rather than scanning all counts.


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.