Glossary: Coding Interviews in Java
Edge-case checklist
A list to run through after your main example: empty, one item, two items, all the same, duplicates, zero or negative, already sorted, very large.
Glossary: Coding Interviews in Java
A list to run through after your main example: empty, one item, two items, all the same, duplicates, zero or negative, already sorted, very large.