Find the nearest bigger element in O(n)
Filed under Kuliza
The question
Find the nearest bigger element in an array in O(n), and name the data structure suited to it.
No write-up yet. Related questions below have one.
Related Kuliza questions
Collected from public candidate posts and coding forums. Updated Nov 2026.