Handling edge cases incoding interview

Hi LeetCode Community

After reading on interview tips I understand that edge cases are critical. What is the expectation on edge cases. Does one needs to write the edge cases and execute code for them?
Is custom testcase feature a good way to practice edge cases?
Can someone share some examples of edge cases for a real interview question. I believe these include empty array, array sorted in reverse order, empty string etc.

Thank You

Comments (0)