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