Third largest element in an array with distinct elements
Filed under PeopleStrong
The question
Find the third largest element in an array of distinct elements using O(n) time and O(1) space complexity using a single loop.
No write-up yet. Related questions below have one.
Related PeopleStrong questions
Collected from public candidate posts and coding forums. Updated Nov 2026.