Google Onsite: How bad is it to miss a small edge case in a math/divisibility problem?
Anonymous User
553

Hi everyone,
I had my second onsite interview with Google today, and I’m feeling a bit anxious about how one part went.

The question was related to math and divisibility.
Initially, I started with a binary search approach, but after the interviewer gave me a few hints, I figured out the correct approach and completed the solution.

The only issue:
After finishing the interview, I realized that I missed one small if condition for a specific edge case. It wasn’t a big logical flaw — more like a simple edge-case branch I forgot to include.

Now I’m wondering:

How much can this affect my interview result?

Do Google interviewers care a lot about missing minor edge cases?

If the main logic and approach were correct, does one small mistake hurt the overall evaluation?

How do they score candidates who needed 1–2 hints to reach the right approach?

Would appreciate any insights from anyone who has gone through the process or has experience interviewing at Google.

Problem:
Same problem in round 3 in below post.
https://leetcode.com/discuss/post/515564/google-l3-hyderabad-dec-2019-rejected-by-q95a/

Comments (4)