Module 12 · sort, Comparators and Lambdas: Tell the Algorithm What You Mean
Cheat Sheet: sort, Comparators and Lambdas on One Page
ProReading
This page is the module on one sheet, for the minute before a contest or an interview. Every line here was taught, measured or run in lessons 01 to 06. Nothing is new. Print it, or keep it open beside the editor.
Checking what this lesson needs for you…
What is inside Cheat Sheet: sort, Comparators and Lambdas on One Page
- The calls and their cost
- Four ways to write the rule
- The lambda on one card
- The three rules every comparator keeps
- The idioms
- Which tool, by lesson 04's flowchart
- GCC 12's numbers
- The traps
Module test
Ten questions on this module. Pass at 70%, and you can take it as many times as you like.
Take the module test