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, very large.
A list to run through after your main example: empty, one item, two items, all the same, duplicates, zero or negative, sorted or reversed, very large.