Glossary: Coding Interviews in C++
Comparator
Also written: comparator lambda, cmp
A function you pass to a sorting routine to say which of two items goes first, as in the top-customers tie rule (bigger count first, then name).
Glossary: Coding Interviews in C++
Also written: comparator lambda, cmp
A function you pass to a sorting routine to say which of two items goes first, as in the top-customers tie rule (bigger count first, then name).