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