Glossary term
What is edge case? Meaning for developers
An unusual but valid input at the limit of the problem: an empty array, one element, all values equal, negative numbers. Most wrong answers fail on one.
Learn it properly · DSALesson 11: How to Read a ProblemInput, output, constraints, examples and edge cases — and solving it by hand before writing any code.