Find second/third max or min
Filed under OFSS
The question
Find the second and third maximum or minimum elements in an array.
No write-up yet. Related questions below have one.
Related OFSS questions
Collected from public candidate posts and coding forums. Updated Nov 2026.