Google Coding & Algorithms Interview Questions
Practice 514 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."
Explain transformer architecture and variants
Technical Screen: Explain the Transformer Architecture Scope Provide a structured deep-dive into Transformers. Your explanation should cover theory, s...
Implement text wrapping, waitlist, and intervals
This question evaluates skills in string parsing and word-wrapping logic, data-structure design for FIFO queue management and deletions, and interval ...
Compute decayed power levels in a graph
This question evaluates knowledge of graph algorithms and distance-based propagation, testing concepts such as shortest-path distance computation, mul...
How would you answer these behavioral prompts?
You are in a behavioral interview. Prepare structured answers (with concrete examples) for the following prompts. Expect follow-ups such as: Why was y...
Design pricing and multivariate button experiments
You join a B2B SaaS firm with three public tiers (Basic $25/month, Pro $50/month, Enterprise = sales-quoted). The PM asks for a 2‑week A/B test to rai...
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
This question evaluates a candidate's skills in hierarchical and mixed-effects modeling, latent-variable estimation, debiasing rater severity and scal...
Design an A/B test with guardrails and SRM checks
You are launching a new personalized ranking on the product listing page. Define: (a) the primary success metric and its exact formula (include numera...
Experimentally evaluate jogging-route recommendations
Design an Evaluation for Jogging Route Recommendations in Maps Objective Design an A/B test and evaluation framework for recommending optimal jogging ...
Diagnose a metric drop in search time
Over the last 3 calendar months, the metric 'searching time per user per session' dropped by 35%. A teammate proposes modeling two distributions: T1 =...
Solve Shortest Paths and Rental Allocation
This question evaluates understanding of shortest-path algorithms and reachability in weighted graphs (including directed vs. undirected handling and ...
Find the Largest Monotone Increasing Number
Find the Largest Monotone Increasing Number Problem Given a non-negative integer n, return the largest integer less than or equal to n whose decimal d...
Check Whether Digits Are Monotone Increasing
Check Whether Digits Are Monotone Increasing Problem A non-negative integer has monotone increasing digits when every adjacent pair of digits is non-d...
Describe leadership under changing priorities
Prepare structured answers for these behavioral questions: - Tell me about a time you went above and beyond expectations. - Tell me about a time you f...
Compute Turnstile Crossing Times
This question evaluates proficiency in queue simulation, event-driven scheduling, and handling priority and tie-breaking rules while achieving linear ...
Implement a robust Python generator
Given a list of integers, write a Python generator that yields the integers from the list while handling edge cases such as None values, empty input, ...
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...
Design distributed log storage service
Design a Distributed Append-Only Log Storage System You are asked to design the storage layer of a distributed, partitioned, replicated append-only lo...
Design ML system for self-driving perception
This question evaluates understanding of end-to-end ML system design for on-vehicle obstacle detection and collision avoidance, encompassing sensor fu...
Describe a major challenge you faced
In a behavioral interview for a software engineering or technical role, you are asked: > Describe the most significant challenge you have faced in an ...