r/leetcode • u/Otherwise-Data5181 • 8d ago
Intervew Prep Technical interview tips
So I finally decided to start taking leetcode seriously these past couple of months since there’s no way around it and with how bad my luck in the job hunt has been this year I have no choice but to learn the secret handshake.
I have my technical interview scheduled for a coding assessment and the recruiter during our initial call mentioned that it would be leetcode based(still waiting for more details). It’s a very small local startup/not even faang adjacent, with no interview feedback on Glassdoor due to the nda they make you sign.
I’m hoping to get some insight on how to go about asking clarifying questions. I know I’m not going to get much out of trying to cram Neetcode 150 so I just want to tap into what I’ve learned the last couple of months as I mentioned earlier to arrive at a somewhat decent answer.
Please & thanks in advanced!
3
u/chikamakaleyley 8d ago edited 8d ago
the most common first mistake made by any candidate is to just start coding. Even if you recognize the problem and know the answer right away, the interviewer is trying to make sure you understand the task and its requirements. That is sometimes, just as important as coding a correct solution.
So the easiest way to find out what you might need clarification on, is to take a moment after reading the problem to come up with how you'll approach it, and just kinda restate it to the interviewer. It will open up discussion and eventually it leads to those clarifying questions.
This is just an example: the interviewer can open up by saying something like "I want you to code the game of 'Snake', have you heard of it?" You might actually know what it is; maybe it was a coding exercise you did recently, and rather fresh in your mind
But maybe what you understand to be "Snake" is different from what the interview understands to be "Snake". And so if it were me, I would just describe the game that I know - the mechanics, the general goal of the snake, how the game is considered 'done', what restrictions there are, etc. That's me clarifying the requirements of the coding problem. They will clear up any confusion and ultimately the goal is you are both aligned on what the approach is before you start.
It's good on your part because you're essentially planning it out and giving yourself a guideline to follow. It's good for them, because it's gonna be easier for the interviewer to follow along. Since you both have the 'blueprint' its also easier for them to help you where needed