Practice ยท 2 of 2
Algorithms with Projections
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.
Difficulty: advanced
Press Submit to check your solution.
Back to lesson: Practice: Pipelines and Projections