Here are some edge cases I normally check:
Numbers:
0,positive number,negative number, duplicate numbers, sorted order, empty input, single value input,MIN_INT, MAX_INT, leading zeros, Null
Strings:
null,Non null,empty strings, long string, uppercase,lowercase characters, ascii/unicode, character to find not found, numbers being present, even length/odd length (very important for palindrome)
If limited to a specific set of characters, what happens when some are not in the range
Stack and Queue:
Popping from empty stack/queue
Hashmap:
Getting value of key in a hashmap when the key doesn't exist in hashmap
Sorted:
Ascending or descending
Trees:
Full, Complete, Binary Tree or BST
Graphs:
What type of graph? connectivity and if it's directed or undirected, DAG? Minimum weight cycles? Adj list or matrix?
Some other checks to avoid the errors:
Maybe I'm forgetting some other edge cases. Feel free to add to this list if you think of anything is missing.