Software Engineer • Intern
Software Engineer • Intern
High QualityPractice Other Questions that Google Asked
Continue with targeted prep from Google's coding question bank and system design questions.
Interview Summary
The coding rounds covered Intersection over Union (IoU), 2D prefix sums, and a restaurant waitlist design problem involving priority queues and efficient cancellation. About two weeks after completing the host-matching questionnaire, I received invitations from two different teams. The first opportunity involved AI sandbox infrastructure and LSP, while the second focused on Linux kernel networking and security policy lookup performance for Google's production fleet. I ultimately matched with the second team in Sunnyvale.
Interview Details
Round 1 — Technical Coding: IoU and 2D Prefix Sum
Question 1 — Calculate Intersection over Union (IoU)
I was given the coordinates of bounding boxes and asked to calculate their overlap and union areas. The objective was to compute the Intersection over Union metric commonly used to evaluate object detection models. The interviewer expected me to handle several important edge cases, including boxes with no overlap, complete overlap, negative coordinate values, and coordinate canonicalization. I walked through these cases and explained how the calculation should behave under different geometric configurations.
I managed to address most of the requirements, but I initially missed a normalization detail in the final aggregation. The interviewer pointed it out, and I corrected the issue during the discussion.
**Question 2 — Range Sum Query 2D: Immutable (LC
Unlock Full Details
Create a free account to unlock this interview experience report.