Alex lists out 10+ edge cases in K closest points. I had a few Qs
He mentions that many candidates would miss int overflow, but what if youre working in python? theres no int overflow or worrying about data types? I'm guessing you would just mention this?
Yep, you would just mention this, demonstrating a mastery of your language.
Do you just literally list out the edge cases?
The interviewer will generally prompt you in some way to start talking about edge cases (the classic way is asking "Now what ways can this possibly break?"). From there, you start going through the edge cases and reacting to the interviewer's responses. Some edge cases are more practical and/or higher-signal to talk about, so a good interviewer will probe you on specific ones.
Alex mentions Strong Yes candidates ask 80%(~8+) clarifying questions and 80%(~8+) edge cases. Wouldnt this take up so much time.
No as: