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
Product Manager

Learning from Wrong Data

Behavioral Prompt: Decision-Making With Bad or Misleading Data Tell me about a time you made a significant decision based on incorrect or misleading d...

Behavioral & Leadership
18
0
69 people solved
Jul 4, 2025
Google logo
Google
Easy
Software Engineer Locked

Implement Memory-Efficient Document Undo/Redo

This question evaluates data structure design and algorithmic reasoning for implementing memory-efficient undo/redo semantics on a key-value document,...

Coding & Algorithms
7
0
60 people solved
Jan 12, 2026
Google logo
Google
Medium
Data Scientist Locked

Approximate a percentile from buckets

Estimate a percentile from histogram bucket summaries by finding the cumulative-count bucket, avoiding midpoint bias, interpolating within the bucket ...

Statistics & Math
4
0
45 people solved
Mar 9, 2025
Google logo
Google
Medium
Software Engineer Locked

Solve meeting-room scheduling and shortest paths

This question evaluates proficiency in interval scheduling and resource allocation as well as shortest-path computation in weighted directed graphs, e...

Coding & Algorithms
8
0
151 people solved
Jan 6, 2026
Google logo
Google
Medium
Software Engineer Locked

Implement iterator merging lists with filtering

This question evaluates iterator/generator design, sequence merging, stateful filtering and deduplication, checking a candidate's ability to maintain ...

Coding & Algorithms
4
0
69 people solved
Jan 6, 2026
Google logo
Google
Hard
Software Engineer Locked

Minimize maximum height along a grid path

This question evaluates algorithmic pathfinding and graph-modeling skills, specifically reasoning about grid-based route selection where the objective...

Coding & Algorithms
11
0
71 people solved
Jan 4, 2026
Google logo
Google
Medium
Software EngineerNew Grad Locked

Can board states be transformed?

This question evaluates reasoning about constrained piece movement, string transformation, and invariant-based correctness in the Coding & Algorithms ...

Coding & Algorithms
12
1
182 people solved
Apr 1, 2026
Google logo
Google
Medium
Data Scientist

Resolve Team Disagreement on Off-Site Activity Choice

Resolve Team Disagreement on Off-Site Activity Choice Behavioral Scenario: Off-site Activity Disagreement Context You’re organizing a team off-site fo...

Behavioral & Leadership
5
0
54 people solved
Aug 4, 2025
Google logo
Google
Medium
Data Scientist

Determine Impact of New Chat-Notification on User Engagement

Determine Impact of New Chat-Notification on User Engagement Scenario A product team wants to determine whether a new chat-notification design increas...

Statistics & Math
21
0
69 people solved
Aug 4, 2025
Google logo
Google
Medium
Machine Learning Engineer

Implement a Web Crawler with BFS and DFS

Implement a simple web crawler in Python. You are given: - A starting URL. - A function get_links(url) -> list[str] that returns all outgoing links fr...

Coding & Algorithms
1
0
17 people solved
Dec 24, 2025
Google logo
Google
Medium
Machine Learning Engineer

Implement a Transformer Block with SwiGLU

Implement a Transformer-style neural network block in Python using either NumPy or PyTorch. Your implementation should include: 1. Multi-head self-att...

Coding & Algorithms
0
0
8 people solved
Dec 24, 2025
Google logo
Google
Medium
Software Engineer

Remove elements to avoid k-prefix duplicates

Question Given two lists listA and listB and an integer k, delete elements from listB so that the first k elements of the new listB share no value wit...

Coding & Algorithms
26
1
62 people solved
Jul 29, 2025
Google logo
Google
Medium
Machine Learning Engineer

Discuss dissertation and supervision

Discuss dissertation and supervision Behavioral Interview: Dissertation Overview and Supervisor Collaboration Context You are in an onsite behavioral ...

Behavioral & Leadership
12
0
47 people solved
Jul 29, 2025
Google logo
Google
Medium
Software Engineer

Recommend top-K movies from similarity graph

Movie Recommendation: Top K You are building a simple movie recommendation feature. Input - A set of movies 0..(M-1). - An undirected similarity graph...

Coding & Algorithms
68
1
528 people solved
Dec 15, 2025
Google logo
Google
Medium
Data Scientist

Describe Overcoming Challenges and Persuading Non-Data Colleagues

Describe Overcoming Challenges and Persuading Non-Data Colleagues This is a behavioral interview prompt for a data scientist role. The interviewer is ...

Behavioral & Leadership
32
0
120 people solved
Jul 12, 2025
Google logo
Google
Medium
Data Scientist

Address Overfitting in Supervised Learning Models

Address Overfitting in Supervised Learning Models You are evaluating a supervised learning model and observe that training performance is much better ...

Machine Learning
15
0
53 people solved
Jul 12, 2025
Google logo
Google
Hard
Product Manager

Historical FX-Rate Service – System Design

System Design: Historical FX-Rate Service Design an internal service for engineers and analysts to fetch historical currency exchange rates for analyt...

Product / Decision Making
21
0
80 people solved
Jul 4, 2025
Google logo
Google
Hard
Product Manager

Comprehensive Product Improvement Drill

Product Case Prompt: Comprehensive Product Improvement Drill Use Spotify, a music and podcast streaming app, as the reference product. Assume it serve...

Product / Decision Making
13
0
77 people solved
Jul 4, 2025
Google logo
Google
Medium
Product Manager

Market Sizing & Product Metrics Drill

Estimation and Product Metrics Drill Provide best-effort estimates using clear assumptions. Give a single-number answer and a justified range for esti...

Product / Decision Making
17
0
54 people solved
Jul 4, 2025
Google logo
Google
Easy
Software Engineer

Find largest group of two-digit numbers sharing digits

You are given an integer array A of length n (1 <= n <= 100). Each element is a two-digit number (e.g., from 10 to 99). Two numbers are considered con...

Coding & Algorithms
18
0
148 people solved
Dec 5, 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