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."
Test if one value comes from N(μ,σ²)
Assume the population is N(μ, σ²) with μ and σ known. You observe a single value x = 1.37. Formulate a two-sided hypothesis test H0: X ~ N(μ, σ²) vs H...
Address Overfitting in Supervised Learning Models
Bias–Variance Trade-off and Reducing a Train–Test Performance Gap Scenario You are evaluating a supervised learning model and observe that training ac...
Generate Samples from Truncated Normal Distribution
Scenario You draw from a normal distribution but only keep observations that are greater than 1 (i.e., values below 1 are discarded). Assume the origi...
Explain Linear Regression to Non-Technical Stakeholders
Scenario You are explaining core machine learning concepts to non-technical stakeholders during a project discussion. Questions 1. Explain linear regr...
Build Model to Predict Customer Contract Renewal
Predicting Enterprise Customer Renewal for Google Meet You are tasked with designing a model to predict whether an enterprise customer will renew thei...
Determine winner in stack-merging game
Game: Babylon stack merging (two-player, perfect play) You are given a two-player turn-based game. There are n stacks of tiles. Each stack has: - a he...
Find shortest subarray with ≥k distinct integers
Given an integer array nums of length n and an integer k, find the length of the shortest contiguous subarray that contains at least k distinct intege...
Design an object-oriented poker game
Design the object-oriented architecture for a command-line poker game. Requirements (clarify and state assumptions) Assume a standard 52-card deck (no...
Reconstruct original array from doubled shuffle
Problem You are given an integer array changed that was produced from some unknown integer array original using the following process: 1. Start with o...
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, ...
Calculate User Deviation from Team Average Messages
usage_stats +---------+---------+---------------+------------+ | user_id | team_id | messages_sent | date | +---------+---------+---------------...
Address Overfitting with L1 Regularization in Regression
Linear Regression with Many Predictors and Few Observations Scenario You fit an ordinary least squares (OLS) linear regression with 500 predictors (fe...
Analyze User Flags and Review Outcomes for Moderation Prioritization
UserFlags +---------------+--------------+----------+---------+ | User_FirstName| User_LastName| Video_ID | Flag_ID | +---------------+--------------+...
Analyze Impact of Customer Reviews on Sales Performance
Measuring the Impact of Product Reviews on Sales Context You are asked to propose how to quantify and causally estimate the impact of product review m...
Design A/B Test to Isolate Product Usage Drop Causes
Investigating a 10–11% Product Usage Drop via Experimentation Context You observe that product usage fell by 10% in the U.S. and 11% in Mexico over th...
Supermarket Experience Design
Product Design Prompt: Modern Supermarket Pick one focus area and go deep: - In-store layout - Checkout flow - Inventory discovery - Loyalty program Y...
Reading-Time Estimation for Google Docs
Product Prompt: Reading Time for Google Docs Context Design a feature that estimates how long it will take a user to read a Google Docs document and s...
Cross-Device Photo-Sharing App
Product Design: Cross-Device Photo Application Design an application that lets users upload photos and seamlessly view, share, and download them acros...
Web Application Performance Debugging
Troubleshooting Intermittent Slowness in a Web Application Context A client reports that a web application is intermittently very slow when generating...
Model-Based Engineering Rollout
Model-Based Engineering (MBE) for Hardware Development Context You are a Product Manager presenting to a non-expert Google executive. Explain Model-Ba...