Edge case

An input at the boundary where a solution can behave differently: an empty list, a single item, a zero, a negative, the last index. Testing these finds bugs that middle-of-the-road inputs hide.

Back to the glossary