Skip to content

Glossary: Algorithms Beyond the Basics

Edge case

Also written: edge cases

An input at the limits, such as an empty list, one item, duplicates or a missing target. Testing these catches mistakes that normal examples miss.

Where the book teaches it

Related terms

Brute force