Google Coding & Algorithms Interview Questions
Practice 461 real Google interview questions for 2026 — Google interview questions that cover Coding & Algorithms, Behavioral & Leadership, Analytics & Experimentation, Machine Learning, and Statistics & Math across Software Engineer, Data Scientist, Machine Learning Engineer, and Product Manager roles. Real questions from actual interviews with detailed solutions tailored for interview preparation and role-specific skill building. Expect coding-heavy rounds and design-focused conversations first, then analytics and behavioral assessments that probe impact, collaboration, and "Googleyness." For Software Engineer candidates this collection emphasizes string and substring matching, memory-efficient undo/redo and batched state operations, graph/time-series connectivity and queue problems, plus scaling for huge inputs and behavioral scenarios about teamwork and ambiguity. Data Scientist questions repeat themes in causal and unbiased upgrade experiments, bootstrap inference and percentile estimation from buckets, sampling and subarray algorithms, and sequence analytics. Machine Learning Engineer prompts focus on LLM lifecycle and trade-offs, recommendation and cold-start ranking strategies, weighted sampling and search, and building chatbots over mixed structured/unstructured data. Product Manager items center on Google Maps/Android product ideation, real-time data throughput and estimation, market sizing, and explaining technical tradeoffs to non-technical stakeholders. Use targeted coding practice, mock design interviews, experiment design drills, and concise STAR stories for best results.

"I got asked a hardcore MCM DP question and I saw it on PracHub as well. Solved that question in 5 minutes. Without PracHub I doubt I could solve it in 5 hours. Though somehow didn't get hired, perhaps I guess I solved it too fast? /s"

"Believe me i'm a student here jn US. Recently interviewed for MSFT. They asked me exact question from PracHub. I saw it the night before and ignored it cause why waste time on random sites. I legit wanna go back and redo this whole thing if I had chance. Not saying will work for everyone but there is certainly some merit to that website. And i'm gonna use it in future prep from now on like lc tagged"

"10 years of experience but never worked at a top company. PracHub's senior-level questions helped me break into FAANG at 35. Age is just a number."

"I was skeptical about the 'real questions' claim, so I put it to the test. I searched for the exact question I got grilled on at my last Meta onsite... and it was right there. Word for word."

"Got a Google recruiter call on Monday, interview on Friday. Crammed PracHub for 4 days. Passed every round. This platform is a miracle worker."

"I've used LC, Glassdoor, and random Discords. Nothing comes close to the accuracy here. The questions are actually current — that's what got me. Felt like I had a cheat sheet during the interview."

"The solution quality is insane. It covers approach, edge cases, time complexity, follow-ups. Nothing else comes close."

"Legit the only resource you need. TC went from 180k -> 350k. Just memorize the top 50 for your target company and you're golden."

"PracHub Premium for one month cost me the price of two coffees a week. It landed me a $280K+ starting offer."

"Literally just signed a $600k offer. I only had 2 weeks to prep, so I focused entirely on the company-tagged lists here. If you're targeting L5+, don't overthink it."

"Coaches and bootcamp prep courses cost around $200-300 but PracHub Premium is actually less than a Netflix subscription. And it landed me a $178K offer."

"I honestly don't know how you guys gather so many real interview questions. It's almost scary. I walked into my Amazon loop and recognized 3 out of 4 problems from your database."

"Discovered PracHub 10 days before my interview. By day 5, I stopped being nervous. By interview day, I was actually excited to show what I knew."

"I recently cleared Uber interviews (strong hire in the design round) and all the questions were present in prachub."
"The search is what sold me. I typed in a really niche DP problem I got asked last year and it actually came up, full breakdown and everything. These guys are clearly updating it constantly."
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...
Implement sampling and subarray scan
A coding interview included the following algorithm questions: 1. You are given access to a function rand01() that returns an independent sample from ...
Design A/B Test for Subscription Price Increase Effectiveness
Scenario A B2B SaaS company is considering: 1) Raising subscription prices and wants a two-week A/B test to evaluate the impact. 2) Improving a sign-u...
Design Scalable Database and Analyze E-commerce Data
transactions +-----------+----------+------------+------------+ | user_id | order_id | product_id | order_time | +-----------+----------+-----------...
Evaluate College Impact on Income: Address Bias and Validity
Study Setup You have an observational, cross-sectional dataset of 1,000 adult Mountain View residents. The outcome is individual annual income (pre-ta...
Engineer Features to Enhance Smartphone Battery Life Prediction
Battery Life Prediction with Sparse History Problem You are given sparse discharge traces that record battery percentage over elapsed time for prior u...
Evaluate Optimal Jogging Routes Feature with A/B Testing
Evaluate and Experiment: Jogging Route Recommendations in Google Maps Context Google Maps is considering a feature that recommends optimal jogging rou...
Sample and Simulate Price Adjustments in R with dplyr
Products +----+-----------+-------+ | id | product | price | | 1 | phone | 500 | | 2 | tablet | 300 | | 3 | laptop | 1000 | | 4 |...
Real-Time Google Maps Photos — New Product Ideation
Product Design Prompt: Real-Time Street-Level Imagery in Maps Assume street-level photos in Maps refresh in (near) real time across covered areas (e.g...
Favorite Products & Improvement Metrics
Onsite PM Interview: Product Thinking and Metrics You are a Product Manager candidate. Use concise, structured answers and define metrics clearly. If ...
Design distributed log storage service
Design a Distributed Append-Only Log Storage System You are asked to design the storage layer of a distributed, partitioned, replicated append-only lo...
Build next-word predictor with O(1) lookup
Problem You are given a training corpus where each training example is a tokenized sentence (array of words). Example training sentences: - ["I", "am"...
Implement sampling, subarray scan, and percentile estimate
You will solve three independent coding tasks. Problem 1: Generate a 2D uniform sample in a square You are given access to a function rand01() that re...
Find Longest Increasing Continuous Subarray
Given an integer array nums, return the length of the longest contiguous strictly increasing subarray. Here, "continuous" means the elements must appe...
Decide confidence level and forecast video views
Part A — Choosing 95% vs 99% confidence level You are running an A/B test and must choose the confidence level for hypothesis testing / confidence int...
Improve Google Maps and Android phones
You are interviewing for a Product Manager role at Google. Address the following product strategy questions: 1. How would you improve Google Maps? Be ...
Design A/B Test for Google Maps UI Change
A/B Test Design: Moving the Google Maps Search Bar to the Bottom Context Google Maps is considering a UI change: moving the search bar from the top to...
Boost Google Workspace Chat Usage with Strategic A/B Testing
Scenario Google Workspace Chat adoption is low, and leadership asks for a data-driven plan to grow monthly active users (MAU). Task Design a plan to d...
Handle conflict, priorities, and ownership scenarios
Behavioral interview prompts Answer the following behavioral questions. Use concrete examples from your experience. 1) Disagreement / conflict - Descr...
Implement sampling and subarray algorithms
This coding round contained two algorithmic prompts: 1. Uniform sampling in a 2D square You are given access to a function rand01() that returns ...