Skip to content

Glossary: Algorithms Beyond the Basics in C++

edge case

Also written: edge cases

An input at the limits, such as an empty list, one item, all items equal, duplicates or a missing target. Testing these catches bugs examples miss.

Where the book teaches it

Related terms

brute force