Google Interview Questions

Google Coding & Algorithms Interview Questions

Practice 514 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.

514 Questions 1 Company08.01.2026
Showing 20 results
Role
Google logo
Google
Medium
Software Engineer Locked

Find where to cut cake into equal areas

This question evaluates geometric area computation, handling of piecewise-constant profiles formed by adjacent rectangles, and attention to numerical ...

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

Design a rolling hit counter API

This question evaluates proficiency with data structures for time-window aggregation and understanding of time/space trade-offs when counting events w...

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

Answer range queries for alternating parity subarrays

This question evaluates understanding of array manipulation, parity properties, efficient range-query processing, and preprocessing techniques for han...

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

Find longest increasing contiguous subarray

This question evaluates proficiency in array processing and algorithmic optimization, focusing on recognition of contiguous subarray properties and ha...

Coding & Algorithms
14
0
110 people solved
Jan 6, 2026
Google logo
Google
Easy
Software Engineer Locked

Compute minimum meeting rooms on circular day

This question evaluates a candidate's ability to reason about interval scheduling, circular time wrap-around, and resource allocation for overlapping ...

Coding & Algorithms
9
0
70 people solved
Jan 4, 2026
Google logo
Google
Medium
Software Engineer Locked

Reconstruct original array from doubled shuffle

This question evaluates array manipulation, multiset/frequency reasoning, pairing logic, and careful handling of edge cases such as zeros and negative...

Coding & Algorithms
6
0
50 people solved
Jan 4, 2026
Google logo
Google
Medium
Software EngineerSenior+

Design set with O(1) random access

Design a data structure ("FancySet") that stores unique integers and supports the following operations, each in average O(1) time: - add(x): Insert va...

Coding & Algorithms
12
0
144 people solved
Jan 1, 2026
Google logo
Google
Medium
Software Engineer

Maintain streaming median and loosemedian

Maintain streaming median and loosemedian Design a data structure for an online stream of positive integers supporting insert (x). After each insertio...

Coding & Algorithms
9
0
64 people solved
Aug 8, 2025
Google logo
Google
Medium
Software Engineer

Solve tree, graph, sliding-window problems

Question LeetCode 103. Binary Tree Zigzag Level Order Traversal – given a binary tree root, return its zigzag level-order traversal. LeetCode 207. Cou...

Coding & Algorithms
12
0
89 people solved
Aug 4, 2025
Google logo
Google
Medium
Software Engineer

Compute shortest delivery route with dangerous stops

Delivery Route Planning With Dangerous Stops You are given delivery stops (nodes) and a set of routes. Each route is a list of stops, and you can trav...

Coding & Algorithms
15
0
153 people solved
Dec 15, 2025
Google logo
Google
Hard
Software Engineer

Compute city skyline outline

You are given a list of rectangular buildings in a 2D city skyline. Each building is represented by three integers [L, R, H]: - L: the x-coordinate of...

Coding & Algorithms
14
0
132 people solved
Dec 8, 2025
Google logo
Google
Medium
Product Manager

Real-Time Google Maps Photos — New Product Ideation

Product Design: Real-Time Street-Level Imagery in Google Maps Assume Google Maps can refresh street-level imagery in near real time across selected co...

Product / Decision Making
8
1
63 people solved
Jul 4, 2025
Google logo
Google
Medium
Product Manager

Behavioral & Execution Scenarios

Product Manager Phone Screen: Behavioral and Execution Scenarios Provide concrete, role-relevant examples for each situation below. Focus on actions, ...

Behavioral & Leadership
13
0
68 people solved
Jul 4, 2025
Google logo
Google
Medium
Product Manager

Web Application Performance Debugging

Troubleshooting Prompt: Intermittent Slowness in a Web Application A client reports that a web application is intermittently very slow when generating...

Product / Decision Making
9
0
50 people solved
Jul 4, 2025
Google logo
Google
Hard
Product Manager

Model-Based Engineering Rollout

Product Strategy Prompt: Model-Based Engineering Rollout for Hardware Development You are a Product Manager presenting to a non-expert Google executiv...

Product / Decision Making
8
1
49 people solved
Jul 4, 2025
Google logo
Google
Easy
Software Engineer

Solve three coding problems

The interview note described the following coding questions: 1. Find the N-th license plate in lexicographic order - A license plate has exactly 6 ...

Coding & Algorithms
8
0
72 people solved
Jun 15, 2025
Google logo
Google
Medium
Data ScientistSenior+

Simulate Uniform(0,1) from random bits

Assume you have access to a function rand_bit() that returns 0 or 1 with equal probability and independent across calls. How would you generate a rand...

Coding & Algorithms
2
0
37 people solved
Nov 24, 2025
Google logo
Google
Medium
Software Engineer

Add two big integers from digit lists

You are given two non-empty singly linked lists (or arrays) representing two non-negative integers. The digits are stored in reverse order, and each n...

Coding & Algorithms
11
0
102 people solved
Nov 24, 2025
Google logo
Google
Medium
Software EngineerNew Grad

Solve Banana Speed and Interval Merge

During two technical phone screens for a new graduate software engineering role, the candidate was asked to solve two coding problems: minimum eating ...

Coding & Algorithms
9
0
58 people solved
Jan 27, 2025
Google logo
Google
Medium
Software Engineer

Compute minimal transfers to settle group expenses

Problem A group of friends go on a trip and share expenses. Each expense is recorded as an object: - payer (string): who paid the full amount - amount...

Coding & Algorithms
11
0
81 people solved
Nov 16, 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 514 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 514-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