Skip to content

Glossary: Algorithms Beyond the Basics

lambda

Also written: key=lambda

A short anonymous function written inline. `key=lambda b: b[2]` tells `sorted` to sort bookings by their end time.

Where the book teaches it

Related terms

Interval scheduling