IIT Delhi路10 days ago
How to handle a coding question when you have zero clue during an interview
Don't sit in awkward silence for 5 minutes. Say: 'I am initially thinking of a brute-force approach where we check every permutation in O(N!), which is too slow. Let me think about whether we can store intermediate states or use a sliding window.' Walking the interviewer through your thought process gives them a chance to nudge you in the right direction.
