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

Answer collaboration, ambiguity, growth, and failure questions

Behavioral Interview Prompts Answer the following prompts using a structured format (e.g., STAR: Situation, Task, Action, Result). Assume the intervie...

Behavioral & Leadership
8
0
60 people solved
Jan 7, 2026
Google logo
Google
Hard
Machine Learning Engineer Locked

Solve several streaming, DAG, and DP tasks

This multi-part question evaluates proficiency in streaming and online algorithms, DAG-based scheduling and parallelism reasoning, and constrained dyn...

Coding & Algorithms
13
1
150 people solved
Jan 6, 2026
Google logo
Google
Medium
Software Engineer

Handle joining overworked low-WLB team

Scenario You have just joined a new engineering team. You quickly notice that: - Every team member appears very busy and often works long hours. - Wor...

Behavioral & Leadership
2
0
45 people solved
Nov 24, 2025
Google logo
Google
Medium
Data Scientist

Build Classifier: Evaluate with AUROC for Imbalanced Data

Detecting Dead Links: Build and Evaluate a Classifier You have a dataset of 1,000 URLs labeled as good, meaning alive, or bad, meaning dead. The class...

Machine Learning
31
0
106 people solved
Jul 12, 2025
Google logo
Google
Hard
Data Scientist

Diagnose YouTube Usage Decline: Key Metrics and Segmentation

Diagnose YouTube Usage Decline: Key Metrics and Segmentation YouTube observes a sudden decline in daily active users and total watch time across the p...

Analytics & Experimentation
80
0
101 people solved
Jul 12, 2025
Google logo
Google
Hard
Data Scientist

Estimate Population Mean and Conversion Rate Accurately

Estimate Population Mean and Conversion Rate Accurately You are asked a series of statistical inference questions covering hypothesis testing, confide...

Statistics & Math
76
0
277 people solved
Jul 12, 2025
Google logo
Google
Medium
Software Engineer Locked

Consolidate On-Call Rotation Segments

This question evaluates proficiency with interval manipulation, set management, sorting and event ordering, and the use of appropriate data structures...

Coding & Algorithms
5
0
17 people solved
May 25, 2026
Google logo
Google
Hard
Software Engineer

Check Digits and Combine Ranges

You are asked to solve two independent coding tasks. Task 1: Check Whether an Integer Reads the Same Backward Given an integer x, return true if its d...

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

Scale median under memory constraints

Scale median under memory constraints Design a Scalable Streaming Median Service Under Memory Constraints Context You are building a service that cons...

System Design
8
0
71 people solved
Aug 8, 2025
Google logo
Google
Medium
Data Scientist

Demonstrate leadership in data ambiguity

Describe a time you inherited an underperforming metric or model, disagreed with the team’s preferred fix, yet had to recommend a decision under a tig...

Behavioral & Leadership
6
0
52 people solved
Oct 13, 2025
Google logo
Google
Hard
Data Scientist

Choose a precise A/B test primary metric

A/B Test: Choose One Primary Metric for a Home-Screen CTA Color Change You are running an A/B test for an app that changes the color of its primary ho...

Analytics & Experimentation
7
0
58 people solved
Oct 13, 2025
Google logo
Google
Medium
Data Scientist

Reflect on a failed decision and redo it

Behavioral & Leadership (Data Scientist Onsite) Prompt: High-Stakes Decision That Turned Out Wrong Describe one specific decision you owned that mater...

Behavioral & Leadership
6
0
65 people solved
Oct 13, 2025
Google logo
Google
Hard
Product Manager

Google Strategic Foresight

Product Strategy Case: Threats and Technology Trends for Google You are presenting to a product leader audience. Be explicit about assumptions and use...

Product / Decision Making
22
0
117 people solved
Jul 4, 2025
Google logo
Google
Hard
Software Engineer

Reason About CPU Microarchitecture and Simulator Design

Reason About CPU Microarchitecture and Simulator Design Answer the following systems questions for a modern out-of-order CPU. State architectural assu...

Software Engineering Fundamentals
0
0
5 people solved
Mar 27, 2026
Google logo
Google
Easy
Software Engineer

How would you lead a team through delivery issues?

Interview Prompt (Behavioral & Leadership) You are interviewing for a software engineering role. The interviewer runs a mixed behavioral round: one ex...

Behavioral & Leadership
5
0
51 people solved
Nov 17, 2025
Google logo
Google
Hard
Software Engineer

Design school-to-guardian messaging with acknowledgments

System Design: Guardian Acknowledgement Messaging Platform Context Design a system that enables school staff to send messages to students' guardians, ...

System Design
5
0
86 people solved
Sep 6, 2025
Google logo
Google
Hard
Software Engineer

Design viewing history and resume service

Design: Watched-Video and Resume Playback Service Context Design a backend service that records each user’s watched video list and lets them resume an...

System Design
12
0
90 people solved
Sep 6, 2025
Google logo
Google
Medium
Software Engineer

Show leadership and teamwork

Show leadership and teamwork Behavioral Leadership Question Context You are in an onsite software engineering behavioral and leadership interview. The...

Behavioral & Leadership
12
0
56 people solved
Jul 29, 2025
Google logo
Google
Hard
Software Engineer

Design lexicographic range query word store

Design a storage/data structure for a set of strings that supports lexicographic range queries. You are given a collection of words (strings), stored ...

System Design
11
0
120 people solved
Oct 5, 2025
Google logo
Google
Medium
Data Scientist

Design A/B Test to Isolate Product Usage Drop Causes

Investigating a Product Usage Drop with Experiments You observe that product usage fell by 10 percent in the U.S. and 11 percent in Mexico over the sa...

Analytics & Experimentation
61
0
127 people solved
Jul 12, 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