I went through Google's L5 onsite interview, which included two coding rounds and one system design round. The coding questions focused on dictionary-based string substitution and generating employee shift timelines from overlapping intervals. The system design question involved identifying the slowest BigQuery query for each day using fixed daily windows.
I was given a dictionary containing string keys and their corresponding replacement values, along with a text string containing placeholders. Each placeholder was enclosed by percent signs in the format %KEY%. The task was to replace every placeholder with its corresponding value from the dictionary. For example:
The main requirement was to identify placeholders marked by % delimiters and substitute their values using the provided dictionary.
Round 2 — System Design: Find the Slowest BigQuery Query Each Day
The system design question asked me to design a system that identifies the slowest-running query in BigQuery for each day. An important clarification was that a day should be treated as a fixed time window rather than a sliding window. The design needed to determine the slowest query within each daily window and produce the corresponding result for that day.
Round 3 — Coding: Employee Shift Timeline Table
The second
Unlock Full Details
Create a free account to unlock this interview experience report.