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.

"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."
Design A/B Test to Isolate Product Usage Drop Causes
Investigating a Product Usage Drop with Experiments You observe that product usage fell by 10 percent in the U.S. and 11 percent in Mexico over the sa...
Build Model to Predict Customer Contract Renewal
Build a Model to Predict Customer Contract Renewal You are designing a model to predict whether an enterprise customer will renew a Google Meet contra...
Analyze Impact of Customer Reviews on Sales Performance
Analyze Impact of Customer Reviews on Sales Performance A product team wants to understand how customer reviews influence sales. You have product-leve...
Evaluate Auto-Reply Feature Success with Metrics and Experiments
Evaluate Auto-Reply Feature Success with Metrics and Experiments A chat product ships an auto-reply suggestion feature, such as "Thanks!" or "Sounds g...
Assess Fundamental Statistics Knowledge in Data-Science Interviews
Fundamental Statistics for a Data Science Interview You are given several standard statistics tasks commonly used in a data-science technical screen. ...
Market Sizing & Revenue Diagnostics
Market Sizing and Revenue Diagnostics Answer a multi-part Product Manager case covering market sizing, company revenue estimation, regional strategy d...
Compute minimax grid path and network delay
This question evaluates algorithmic problem-solving in shortest-path and path-optimization contexts, specifically minimax pathfinding on a grid and si...
Boost Google Workspace Chat Usage with Strategic A/B Testing
Boost Google Workspace Chat Usage with Strategic A/B Testing Scenario Google Workspace Chat adoption is low, and leadership asks for a data-driven pla...
Check if all substrings are dictionary words
You are given a string s (letters only) and access to an English dictionary dict (a set of valid words). Return true if every contiguous substring of ...
Design A/B testing platform
Design an A/B Testing Platform (Architecture + Experiment Science) Context You are designing an A/B testing platform for a large-scale consumer web/mo...
Walk resume and tackle hypotheticals
Resume Deep‑Dive and Leadership Hypotheticals (Software Engineer Onsite) Context You are asked to walk through two impactful projects from your resume...
Make algorithm code production-ready
Productionizing a Sliding-Window String Algorithm Context: You have implemented a correct sliding-window algorithm for a classic string task (e.g., lo...
Assess behavioral competencies across scenarios
Behavioral Competency Prompts (Software Engineer, HR Screen) Provide specific work situations that demonstrate each competency below. Use concise STAR...
How do you handle credit, leadership, and feedback?
Behavioral interview prompts Answer the following prompts with concrete examples from your experience (use a structured method such as STAR: Situation...
Estimate b when features exceed samples
Consider the linear model y = Xb + ε with X ∈ R^{n×(m+1)} including an intercept. a) Derive the OLS estimator b̂ = (XᵀX)^{-1}Xᵀy, stating the rank con...
Design a battery-life predictor and cold-start strategy
Smartphone Time-to-Empty (TTE) Prediction — Baseline, Features, Cold Start, Evaluation, and Monitoring Context You are building a per-device predictor...
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...
Evaluate Optimal Jogging Routes Feature with A/B Testing
Evaluate an Optimal Jogging Routes Feature with A/B Testing Google Maps is considering a feature that recommends optimal jogging routes, such as safe,...
Simulate meeting-room bookings and return busiest room
This question evaluates a candidate's competence in scheduling and resource-allocation algorithms, focusing on simulation of interval-based bookings, ...
Build vs. Buy Decision Framework
Product Decision Prompt: Build vs. Buy Framework Your team needs to deliver a new system to support a product. You can either build it in-house or buy...