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
Software Engineer

How do you handle conflict and ambiguity?

You are asked a series of detailed behavioral questions. Answer each with specific context, actions, and measurable outcomes. Conflict, teamwork, and ...

Behavioral & Leadership
9
0
102 people solved
Feb 12, 2026
Google logo
Google
Hard
Software Engineer

Diagnose distributed database inconsistency

Distributed Database Incident: Inconsistent Replicas You are on-call for a distributed database that serves production traffic. Dashboards show data i...

System Design
11
0
88 people solved
Sep 6, 2025
Google logo
Google
Hard
Data Scientist Locked

Build and evaluate illegal-video classifier

This question evaluates competency in end-to-end Machine Learning system design, including multimodal modeling (vision, audio, text), data engineering...

Machine Learning
11
0
84 people solved
Oct 13, 2025
Google logo
Google
Medium
Data Scientist

Test a coefficient and explain t-distribution

In OLS, test whether feature j is relevant. a) State H0: β_j = 0 versus H1: β_j ≠ 0 and construct the t‑statistic t_j = b̂_j / se(b̂_j), giving the ex...

Statistics & Math
5
0
105 people solved
Oct 13, 2025
Google logo
Google
Medium
Data Scientist Locked

Infer distribution and choose robust statistics

This question evaluates a candidate's ability to infer underlying distributions from summary statistics and apply robust statistical reasoning includi...

Statistics & Math
9
0
101 people solved
Oct 13, 2025
Google logo
Google
Hard
Data Scientist Locked

Diagnose and fix flawed model fit

This question evaluates a data scientist's competency in applied supervised learning diagnostics, including feature encoding, feature scaling, class i...

Machine Learning
8
0
64 people solved
Oct 13, 2025
Google logo
Google
Hard
Data Scientist Locked

Design and critique an abuse-detection ML system

This question evaluates system-design and production machine learning competencies including large-scale classification versus risk scoring, handling ...

Machine Learning
10
0
98 people solved
Oct 13, 2025
Google logo
Google
Medium
Software Engineer

Build a bigram next-word predictor with weighted sampling

You are given a training set of token sequences (sentences), for example: ` [["a","b","c"], ["a","s","d"]] ` 1) Train a simple next-word prediction m...

Machine Learning
7
0
104 people solved
Jan 11, 2026
Google logo
Google
Easy
Software Engineer

Describe conflict resolution and stakeholder management

Behavioral Prompt Describe a time when you faced a serious conflict at work (e.g., disagreement on technical direction, priorities, scope, or executio...

Behavioral & Leadership
8
0
73 people solved
Jan 11, 2026
Google logo
Google
Medium
Software Engineer

Handle teamwork, prioritization, and feedback scenarios

Answer the following behavioral questions (use specific examples from your experience): 1. Describe a complex project you worked on. 2. Tell me about ...

Behavioral & Leadership
6
0
50 people solved
Jan 10, 2026
Google logo
Google
Medium
Software Engineer

Design log management with auto-deletion

Design log management with auto-deletion Design a Bounded Log Management System with O(1) Victim Selection Context You are designing an in-memory log ...

System Design
6
0
76 people solved
Aug 4, 2025
Google logo
Google
Medium
Software Engineer

Explain handling a tight project deadline

In a behavioral interview for a software engineering or technical role, you are asked: > Describe a time you had to work under a very tight deadline. ...

Behavioral & Leadership
3
0
46 people solved
Dec 8, 2025
Google logo
Google
Medium
Machine Learning Engineer

Explain modeling challenges and fixes

Model Development Challenges: Detection, Alternatives, Solution, Evidence Context: In a technical screen for a Machine Learning Engineer, you are aske...

Machine Learning
15
0
132 people solved
Sep 6, 2025
Google logo
Google
Medium
Machine Learning Engineer

Describe your proudest project

Behavioral prompt: Describe the project you are most proud of (Machine Learning Engineer) Provide a concise, technical, leadership-focused walkthrough...

Behavioral & Leadership
7
0
91 people solved
Sep 6, 2025
Google logo
Google
Hard
Software Engineer

Design high-throughput event subscription system

Design an Event Ingestion and Subscription System Context You are asked to design a horizontally scalable platform where producers send high-volume ev...

System Design
5
0
61 people solved
Sep 6, 2025
Google logo
Google
Medium
Machine Learning Engineer Locked

Implement substring search and weighted sampling

This question evaluates algorithm design and analysis skills across string processing (efficient substring search) and randomized/data-structure techn...

Coding & Algorithms
13
0
114 people solved
Mar 30, 2026
Google logo
Google
Hard
Software Engineer

Apply Range Overwrite Queries

You are given an integer array nums of length n and a list of range-assignment queries. Each query is a tuple (left, right, value), where left and rig...

Coding & Algorithms
22
1
232 people solved
Feb 25, 2026
Google logo
Google
Medium
Data Scientist

Build and evaluate bad-link classifier

You have 1,000 URLs labeled as bad or good and a much larger unlabeled pool, with bad links rare. Design features and train a logistic regression. Exp...

Machine Learning
5
0
97 people solved
Oct 13, 2025
Google logo
Google
Medium
Data Scientist Locked

Test if one value comes from N(μ,σ²)

This question evaluates understanding of hypothesis testing and statistical inference, specifically the formulation and interpretation of a z-statisti...

Statistics & Math
6
0
59 people solved
Oct 13, 2025
Google logo
Google
Medium
Data Scientist

Handle highly imbalanced classification data

You must build a binary classifier for fraud with a 0.2% positive rate and 10M rows × 500 features. Propose an end-to-end plan that covers: 1) data sp...

Machine Learning
15
0
121 people solved
Oct 13, 2025

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