Skip to content

Glossary: Coding Interviews in C++

Lambda

Also written: lambda function

A small unnamed function written inline, such as the comparator passed to `std::sort`. `[&]` lets it use outer variables by reference.

Where the book teaches it

Related terms

Comparator