Practice ยท 2 of 2
Algorithms with Projections
CHALLENGE
Difficulty: advanced+25 XP
Implement topEarner (max_element with a salary projection) and sortRoster (sort by level, ties broken by name โ a projection cannot express two keys, so use a comparator) โ both without copying the vector.
Press Submit to check your solution.
Back to lesson: Practice: Pipelines and Projections