How to find edge cases effectively?

Hi,
I'm struggling to think of edge cases that need to be addressed in my raw code on my own. Only after submitting, I am aware about them. How to think of them in an interview setting, where there is no submit option?
Thanks :)

Comments (1)