CodingReported in a candidate post, Nov 2023
Third highest salary with streams
Filed under NatWest
The question
Given a list of Employee objects (id, name, age, gender, year of joining, salary), find the third highest salary using Java 8 streams.
No write-up yet. Related questions below have one.
Related NatWest questions
Collected from public candidate posts and coding forums. Updated Nov 2026.