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."
Answer common behavioral questions for new grad
You are in a 35-minute behavioral round for a new-grad software role. Prepare concise, structured answers (1–3 minutes each) to the following question...
Choose optimal guesses for green-only Wordle
Problem You are playing a simplified 5-letter word guessing game. - There is a hidden secret word of length 5. - You have a dictionary of valid 5-lett...
Build and evaluate illegal-video classifier
End-to-End ML System Design: Flag Illegal YouTube Videos You are tasked with designing a production ML system to detect and triage potentially illegal...
Implement percentage RMSE and bootstrap its CI
Given a CSV with columns [country, actual_revenue, predicted_revenue], define percentage RMSE as pRMSE = sqrt(mean_i((pred_i/actual_i − 1)^2)). a) Imp...
Establish causality: commute playlist and driving speed
A lawyer worries that listening to a "Commute" playlist in a mobile app makes users drive faster. As the DS: a) Define the population, unit of analysi...
Narrow a confidence interval for a mean
You have a simple random sample with n = 100 and sample mean 100. The current 95% CI for the population mean is 100 ± 10, which a PM says is too wide....
Estimate unbiased ad scores with many reviewers
You have 1,000 ads and 100 reviewers; each reviewer rates 100 ads on a 1–10 scale with incomplete overlap. Specify a mixed-effects model to estimate l...
Diagnose and reverse an adoption-rate decline
Problem: Investigating a 7pp Drop in Google Meet Enterprise Adoption Rate Context Over the last 4 calendar weeks, enterprise adoption rate has fallen ...
Resolve conflict on trust versus growth priorities
Scenario You are an Engineering Analyst on a Trust/Integrity team. A senior Growth PM, with VP support, pushes to loosen an upload filter to boost Dai...
Find safe travel intervals between planet influences
You are planning a space route along a one-dimensional line (the x-axis). You are given a list of planets. Each planet is represented by an integer pa...
Historical FX-Rate Service – System Design
System Design: Historical FX Rates Service (10k QPS) Background You are designing an internal service for engineers and analysts to fetch historical c...
Explaining Technical Work to Non-Technical Stakeholders
Interview Prompt: Explain a Recent Project to a Non-Technical Audience Context You're interviewing for a Product Manager role in a technical/phone scr...
Google Strategic Foresight
Product Strategy Case: Threats and Technology Trends for Google (PM Onsite) Part A — Strategic Threats (5-year horizon) Identify the three biggest thr...
Behavioral & Execution Scenarios
Product Manager Phone Screen: STAR Examples With Metrics Provide concrete, role-relevant examples for each situation below. Focus on actions, trade-of...
Determine validity after digit-constrained deletions
You're given a string S of length n consisting only of '(' , ')' , and digits '0'–'9'. For every digit at index i with numeric value v: ( 1) you must ...
Maintain streaming median and loosemedian
Design a data structure for an online stream of positive integers supporting insert (x). After each insertion, output: (a) the median of all values se...
Design human review to estimate model accuracy
You need to estimate the accuracy of an ML classifier on a population of subjects. You can only afford K total human reviews. Each human review produc...
Generate Uniform Samples and Estimate Percentiles
Answer the following two probability/statistics questions. 1. You are given access to a function rand01() that returns independent samples from Unifor...
Discuss dissertation and supervision
Behavioral Interview: Dissertation Overview and Supervisor Collaboration Context You are in an onsite behavioral and leadership round for a Machine Le...
Estimate percentile from buckets
You are given an approximate histogram of search-query frequencies. Each bucket i is represented as (left_bd_i, right_bd_i, bucket_count_i), where: - ...