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."
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,...
Explain Linear Regression to Non-Technical Stakeholders
Explain Linear Regression to Non-Technical Stakeholders You are explaining core machine-learning concepts to non-technical stakeholders during a proje...
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, ...
Explaining Technical Work to Non-Technical Stakeholders
Explain Technical Work to a Non-Technical Stakeholder Explain a recent project you led in plain language for a non-technical audience. The interviewer...
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...
Simulate In-Place Cellular State Updates
This question evaluates a candidate's ability to implement grid-based state transitions and manage in-place updates with strict space constraints, ass...
Detect Overfitting or Underfitting in Logistic Regression Models
Detect Overfitting or Underfitting in Logistic Regression Models Logistic Regression Bias–Variance in High‑Dimensional Ads Prediction Scenario You are...
Generate Uniform Samples and Estimate Percentiles
Solve two Google statistics questions: sample uniformly from a square using rand01 and estimate percentiles from histogram buckets using cumulative co...
Design anomaly detection and response platform
Design an AI-Driven OS Snapshot Anomaly Detection Service Context You are designing a cloud service that ingests operating system (OS) snapshots from ...
Design autocomplete with Trie
Design and implement an autocomplete service backed by a prefix tree (Trie). The service stores a dynamic dictionary of words, each carrying an intege...
Evaluate career paths under visa constraints
Career Decision Analysis After Layoff: 7 Paths, Decision Criteria, Matrix, Recommendation, and 90-Day Plans Context You are a laid-off software engine...
Maximize coins collected by tokens jumping +3
You are given a single-player board game represented by a string board of length N (1 ≤ N ≤ 100). Each character is one of: - '.': empty cell - 'T': a...
Find shortest relationship path using BFS
This question evaluates proficiency in graph representations and traversal algorithms—specifically BFS and adjacency-structure construction—for comput...
Design A/B Test for Subscription Price Increase Effectiveness
A/B Testing a Subscription Price Increase and Sign-up CTA A B2B SaaS company is considering two experiments: raising subscription prices and improving...
Explain Simpson’s Paradox and Its Causes with Example
Simpson's Paradox: Definition, Cause, and Example Demonstrate your understanding of Simpson's paradox in a statistics or analytics interview. Define t...
Evaluate College Impact on Income: Address Bias and Validity
Evaluating College Impact on Income with Observational Data You have an observational, cross-sectional dataset of 1,000 adult Mountain View residents....
Address Overfitting with L1 Regularization in Regression
Linear Regression with Many Predictors and Few Observations You fit an ordinary least squares linear regression with 500 predictors and 600 observatio...
Compare Logistic Regression and Random Forest in Limited Data Scenarios
Compare Logistic Regression and Random Forest in Limited Data Scenarios You are designing a binary classifier with limited labeled data. The signal ma...
Find secret word with match-count feedback
Problem You are given a list of unique lowercase words, all of the same length (e.g., length = 6). One of these words is a secret word. You can intera...
Design structure for insert and k-th largest
This question evaluates data-structure design and algorithmic efficiency for dynamic order-statistics over a multiset (duplicates allowed), focusing o...