Google Interview Questions

Google Coding & Algorithms Interview Questions

Practice 518 real Google interview questions for 2026. Covers Coding & Algorithms, Behavioral & Leadership, Analytics & Experimentation, Machine Learning, and System Design across Software Engineer, Data Scientist, Machine Learning Engineer, Product Manager, and Data Engineer roles — real questions from actual interviews with detailed solutions to accelerate interview preparation. This collection highlights the coding-first bar Google uses: expect heavy algorithmic work, role-related data and ML problems, a Googleyness/leadership round, and level-specific differences in what’s decisive. What’s distinctive: for Software Engineers you’ll see spatial and streaming algorithms, concurrency and async primitives, LLM-foundations and GPU-job scheduling, plus object-design problems like room assignment; Data Scientists are weighted toward causal experiments, funnel and product-metric diagnostics, bootstrap inference, and percentile/sampling algorithms; ML Engineers focus on transformer blocks, recommendation design and ranking cold-starts; PMs get Maps/Android and product-ideation tradeoffs plus throughput and revenue sizing. New-grad and intern tracks emphasize phone screens and virtual onsites; Google L4 typically keeps the loop coding-heavy while Google L5 expects stronger system-design and cross-team leadership signals. Use focused practice, mock interviews, and level-specific stories to prepare.

518 Questions 1 Company08.01.2026
Showing 20 results
Role
Google logo
Google
Medium
Data Scientist

Evaluate Optimal Jogging Routes Feature with A/B Testing

Evaluate an Optimal Jogging Routes Feature with A/B Testing Google Maps is considering a feature that recommends optimal jogging routes, such as safe,...

Analytics & Experimentation
14
0
78 people solved
Jul 12, 2025
Google logo
Google
Medium
Data Scientist

Explain Linear Regression to Non-Technical Stakeholders

Explain Linear Regression to Non-Technical Stakeholders You are explaining core machine-learning concepts to non-technical stakeholders during a proje...

Machine Learning
19
0
81 people solved
Jul 12, 2025
Google logo
Google
Medium
Software Engineer Locked

Simulate meeting-room bookings and return busiest room

This question evaluates a candidate's competence in scheduling and resource-allocation algorithms, focusing on simulation of interval-based bookings, ...

Coding & Algorithms
15
0
159 people solved
Mar 1, 2026
Google logo
Google
Medium
Product Manager

Explaining Technical Work to Non-Technical Stakeholders

Explain Technical Work to a Non-Technical Stakeholder Explain a recent project you led in plain language for a non-technical audience. The interviewer...

Behavioral & Leadership
16
0
70 people solved
Jul 4, 2025
Google logo
Google
Medium
Product Manager

Build vs. Buy Decision Framework

Product Decision Prompt: Build vs. Buy Framework Your team needs to deliver a new system to support a product. You can either build it in-house or buy...

Product / Decision Making
18
0
160 people solved
Jul 4, 2025
Google logo
Google
Hard
Software EngineerNew Grad Locked

Simulate In-Place Cellular State Updates

This question evaluates a candidate's ability to implement grid-based state transitions and manage in-place updates with strict space constraints, ass...

Coding & Algorithms
7
0
41 people solved
May 4, 2026
Google logo
Google
Medium
Data Scientist

Detect Overfitting or Underfitting in Logistic Regression Models

Detect Overfitting or Underfitting in Logistic Regression Models Logistic Regression Bias–Variance in High‑Dimensional Ads Prediction Scenario You are...

Machine Learning
24
0
93 people solved
Aug 4, 2025
Google logo
Google
Medium
Data ScientistIntern Locked

Generate Uniform Samples and Estimate Percentiles

Solve two Google statistics questions: sample uniformly from a square using rand01 and estimate percentiles from histogram buckets using cumulative co...

Statistics & Math
7
0
60 people solved
Mar 27, 2025
Google logo
Google
Hard
Software Engineer

Design anomaly detection and response platform

Design an AI-Driven OS Snapshot Anomaly Detection Service Context You are designing a cloud service that ingests operating system (OS) snapshots from ...

ML System Design
8
0
87 people solved
Sep 6, 2025
Google logo
Google
Medium
Software Engineer

Design autocomplete with Trie

Design and implement an autocomplete service backed by a prefix tree (Trie). The service stores a dynamic dictionary of words, each carrying an intege...

Coding & Algorithms
12
0
171 people solved
Sep 6, 2025
Google logo
Google
Medium
Software Engineer

Evaluate career paths under visa constraints

Career Decision Analysis After Layoff: 7 Paths, Decision Criteria, Matrix, Recommendation, and 90-Day Plans Context You are a laid-off software engine...

Behavioral & Leadership
10
0
69 people solved
Sep 6, 2025
Google logo
Google
Medium
Software Engineer

Maximize coins collected by tokens jumping +3

You are given a single-player board game represented by a string board of length N (1 ≤ N ≤ 100). Each character is one of: - '.': empty cell - 'T': a...

Coding & Algorithms
5
0
53 people solved
Feb 13, 2026
Google logo
Google
Medium
Software Engineer Locked

Find shortest relationship path using BFS

This question evaluates proficiency in graph representations and traversal algorithms—specifically BFS and adjacency-structure construction—for comput...

Coding & Algorithms
21
0
143 people solved
Feb 12, 2026
Google logo
Google
Medium
Data Scientist

Design A/B Test for Subscription Price Increase Effectiveness

A/B Testing a Subscription Price Increase and Sign-up CTA A B2B SaaS company is considering two experiments: raising subscription prices and improving...

Analytics & Experimentation
71
0
158 people solved
Jul 12, 2025
Google logo
Google
Medium
Data Scientist

Explain Simpson’s Paradox and Its Causes with Example

Simpson's Paradox: Definition, Cause, and Example Demonstrate your understanding of Simpson's paradox in a statistics or analytics interview. Define t...

Statistics & Math
13
0
77 people solved
Jul 12, 2025
Google logo
Google
Medium
Data Scientist

Evaluate College Impact on Income: Address Bias and Validity

Evaluating College Impact on Income with Observational Data You have an observational, cross-sectional dataset of 1,000 adult Mountain View residents....

Analytics & Experimentation
23
0
76 people solved
Jul 12, 2025
Google logo
Google
Medium
Data Scientist

Address Overfitting with L1 Regularization in Regression

Linear Regression with Many Predictors and Few Observations You fit an ordinary least squares linear regression with 500 predictors and 600 observatio...

Machine Learning
11
0
58 people solved
Jul 12, 2025
Google logo
Google
Medium
Data Scientist

Compare Logistic Regression and Random Forest in Limited Data Scenarios

Compare Logistic Regression and Random Forest in Limited Data Scenarios You are designing a binary classifier with limited labeled data. The signal ma...

Machine Learning
97
0
257 people solved
Jul 12, 2025
Google logo
Google
Hard
Software Engineer

Find secret word with match-count feedback

Problem You are given a list of unique lowercase words, all of the same length (e.g., length = 6). One of these words is a secret word. You can intera...

Coding & Algorithms
14
0
147 people solved
Feb 11, 2026
Google logo
Google
Medium
Software Engineer Locked

Design structure for insert and k-th largest

This question evaluates data-structure design and algorithmic efficiency for dynamic order-statistics over a multiset (duplicates allowed), focusing o...

Coding & Algorithms
12
0
86 people solved
Feb 11, 2026

Frequently Asked Questions

How hard are Google interview questions and how does difficulty vary by level?
Google interview questions are challenging but predictable: they range from medium algorithmic problems for new grads to hard, system- and architecture-focused problems at senior levels. L3/new-grad interviews emphasize correct, clean code with solid complexity and edge-case handling; expect two to three coding rounds plus a Googleyness/leadership conversation. L4 requires optimal solutions, clearer trade-off communication, and sometimes a system-design or domain round. L5 raises the bar on system design, scalability, ownership, and leadership impact. Non-SWE roles shift emphasis toward statistics, experiment design, or model-building depending on the job.
What does the Google interview process look like and where do these 518 questions appear?
The typical loop starts with a recruiter screen, one or more phone or virtual coding screens, then a virtual or in-person onsite loop of 3–5 forty-five minute interviews: mostly coding, plus a Googleyness/leadership behavioral round and usually one domain or system-design session for mid and senior roles. The 518-question corpus covers those stages: phone-screen style coding, onsite deep-coding, system-design prompts, analytics/experiment questions for data roles, ML implementation prompts, and product-spec behavioral cases. Hiring committee review, level calibration, and team match happen after the loop and extend timelines by several weeks.
How should I schedule my preparation and how much time do I need to prepare effectively?
Plan prep based on level and role: new grads should spend 4–6 weeks focused on core data structures, algorithm patterns, and 4–6 polished STAR stories. Mid-level L4 candidates should budget 6–10 weeks, adding system design and production-readiness topics plus mock interviews. L5 and above need 8–12+ weeks emphasizing architecture, trade-offs, and leadership narratives. Break weeks into coding practice, timed mocks, system-design sprints, and role-specific work (experiments for DS, model lifecycle for MLE). Run at least 6–10 realistic mock interviews and iterate on communication and edge-case testing.
What specific subtopics and recurring themes should I expect by role at Google?
For Software Engineer interviews expect spatial and streaming geometry problems (counting or removing points within distance), concurrency and async primitives, deterministic task ordering and schedulers, calendar/free-slot algorithms, boolean-expression fixes, array/subarray patterns, and small-system OOD prompts like dorm room assignment. Data Scientist questions concentrate on causal and experiment design, funnel and product-metric computation, unbiased upgrade experiments, bootstrap and percentile estimation from buckets, sampling algorithms, and applied modeling like shot-conversion. Machine Learning Engineer rounds emphasize transformer/LLM building blocks and trade-offs, recommendation and ranking cold-start strategies, weighted sampling, and implementation details.
Any standout tips and common pitfalls, including level-specific advice (L3, L4, L5) and intern/new-grad notes?
Start by matching preparation to level: L3/new-grad must deliver correct, well-tested code and clear complexity; L4 must reach optimal solutions, explain trade-offs, and show production thinking; L5 must demonstrate architecture, scaling trade-offs, and cross-team impact. For interns/new-grads expect a phone coding screen followed by a virtual onsite; practice timed screens and basic system thinking. Across levels, talk through examples, define constraints, test edge cases, and avoid premature optimization or vague assumptions. Prepare 4–6 STAR stories for Googleyness, and don’t overlook clear, testable code and thought-out system trade-offs.

Explore more Google interview questions

Jump straight to Google questions for a specific role or category.

By role
By category
In-depth guides
Across all companies

Featured Google interview prep guides

Concept walkthroughs, worked examples, and the real questions from candidate reports.

Editorial prep
Machine Learning Engineer
Google interview
Read the guide