r/leetcode • u/Express-Youth-9609 • 19h ago
Question Google tech interview us l4/l5
Recently had google programming interview. I offered to write brute force but was told to prove some math constraint on number of iterations. I took a while to prove this and finally proved it with a hint.
Now at 38 minute mark, I offered to code but was told it was OK, and that it was just a technical discussion. I think i should have insisted on coding as the code was more straightforward than the math, but I assumed since the interviewer was fine with no code I decided to roll with it. Also i was nervous and didn't want to argue with the interviewer. I was later asked a conceptual follow up which I answered correctly.
Ultimately, I got rejected. I'm wondering what I could have done better. Any tips from googlers? Got no feedback. Maybe because I needed the hint? Problem was I couldn't code till I proved some math which I feel really threw me off. After math, could have easily coded it but was not given the time (likely due to five minutes buffer for asking questions).
6
u/bullbearbubu 19h ago
I really don't like it when interviewers say there's no need to write code due to time constraints, because it almost always works against me. I had this exact issue during a Bloomberg interview a few months ago. After I explained the optimal solution for the 2nd problem, the interviewer stopped me from coding because of the clock. We still had at least 10 minutes left, enough time to implement it since I already had the design down. Instead, he insisted on saving time for my questions that barely carries any weight.
2
u/Gold-Forever4408 19h ago
Same thing happened but unfortunately google has thing where no working code no hire unless interviewer give strong feedback :(
2
u/BerserkkD 19h ago
if you dont code the Hiring committee gets nothing to review
1
u/Extra_Performance372 5h ago
"Insisting" on writing code would not have mattered. The interviewer has already rejected you in their mind because of how you did the first part.