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."
Find horizontal cut balancing square areas
Given a 2D table with top-left origin (0, 0), you are provided a finite set of n non-overlapping, axis-aligned square cakes. Each square i has real-va...
Design a reaction-factor prediction system
End-to-End System Design: Predicting a Reaction Factor from Molecule Pairs Context and goal - You have a tabular dataset with columns: - molecule1_n...
Design key management service
Design a Key Management Service (KMS) You are asked to design a production-grade, multi-tenant Key Management Service. A client provides a key identif...
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...
Describe manager and cross-team communication
Cross-Functional Communication, Expectations, and Risk Management (Behavioral) Context You are interviewing for a Software Engineer role in an onsite ...
Match payments to invoices by memo or amount
Scenario You are building a small reconciliation tool that matches payments to invoices. Data structures Assume you are given: - invoices: a list of i...
Implement a Transformer Block with SwiGLU
Implement a Transformer-style neural network block in Python using either NumPy or PyTorch. Your implementation should include: 1. Multi-head self-att...
Analyze Call Drop Rates Pre- and Post-Update Implementation
Evaluate a Non-Experimental Release: Google Meet Call Drops Scenario Engineers shipped a new Google Meet version intended to reduce call drops. A trad...
Describe Overcoming Challenges and Persuading Non-Data Colleagues
Behavioral Interview: Persuasion and Problem-Solving (Technical Phone Screen — Data Scientist) Context You are interviewing for a Data Scientist role ...
Compare Logistic Regression and Random Forest in Limited Data Scenarios
Model Selection for Binary Classification with Limited Data and Potential Non-Linearities Scenario You are designing a binary classifier with limited ...
Diagnose YouTube Usage Decline: Key Metrics and Segmentation
Scenario YouTube observes a sudden decline in daily active users (DAU) and total watch time across the platform. Task Design a systematic diagnosis pl...
Product Critique & Improvement
Product Critique Prompt In a product management interview, choose a product you genuinely admire but that still has obvious shortcomings. Assume the i...
Favorite Products & Optimization
Product Sense and Roadmapping Prompt Context: You are interviewing for a consumer-facing Product Manager role. You will evaluate products you admire, ...
U.S. Annual Traffic-Jam Hours Estimation
Estimation Prompt: Annual Hours Lost to Traffic in the U.S. Estimate the total number of hours that drivers in the United States collectively spend st...
Learning from Wrong Data
Behavioral: Decision-Making With Bad or Misleading Data You made a significant decision that was based on incorrect or misleading data. Address the fo...
Market Sizing & Product Metrics Drill
Estimation and Product Metrics (Onsite) Provide best-effort estimates using clear assumptions. Give a single-number answer and a justified range for e...
Legacy Payroll System Migration Plan
Design a Data-Migration Plan: Legacy Payroll to New Platform Context You are responsible for migrating a legacy payroll system to a new platform in a ...
Compute precision under noisy annotators
Two-Annotator Labeling Policy: Precision, Recall, F1, and Generalization You have two independent annotators who review videos and label them as "ille...
Design long-tail search evaluation under label budget
Estimating ΔNDCG@10 With Limited Labels Under a Heavy-Tailed Query Mix You serve ~100M queries/day. Query frequencies follow a Pareto distribution wit...
Estimate population singletons from a 10% log
A daily search log has one row per query string. You draw a 10% simple random sample of rows without replacement. Define a “unique query” (singleton) ...