Find the second maximum element
Filed under EagleView
The question
Find the second largest element in an array. Candidate optimized from O(N log N) to O(N).
No write-up yet. Related questions below have one.
Related EagleView questions
Collected from public candidate posts and coding forums. Updated Nov 2026.