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."
Answer collaboration, ambiguity, growth, and failure questions
Behavioral Interview Prompts Answer the following prompts using a structured format (e.g., STAR: Situation, Task, Action, Result). Assume the intervie...
Solve several streaming, DAG, and DP tasks
This multi-part question evaluates proficiency in streaming and online algorithms, DAG-based scheduling and parallelism reasoning, and constrained dyn...
Handle joining overworked low-WLB team
Scenario You have just joined a new engineering team. You quickly notice that: - Every team member appears very busy and often works long hours. - Wor...
Build Classifier: Evaluate with AUROC for Imbalanced Data
Detecting Dead Links: Build and Evaluate a Classifier You have a dataset of 1,000 URLs labeled as good, meaning alive, or bad, meaning dead. The class...
Diagnose YouTube Usage Decline: Key Metrics and Segmentation
Diagnose YouTube Usage Decline: Key Metrics and Segmentation YouTube observes a sudden decline in daily active users and total watch time across the p...
Estimate Population Mean and Conversion Rate Accurately
Estimate Population Mean and Conversion Rate Accurately You are asked a series of statistical inference questions covering hypothesis testing, confide...
Consolidate On-Call Rotation Segments
This question evaluates proficiency with interval manipulation, set management, sorting and event ordering, and the use of appropriate data structures...
Check Digits and Combine Ranges
You are asked to solve two independent coding tasks. Task 1: Check Whether an Integer Reads the Same Backward Given an integer x, return true if its d...
Scale median under memory constraints
Scale median under memory constraints Design a Scalable Streaming Median Service Under Memory Constraints Context You are building a service that cons...
Demonstrate leadership in data ambiguity
Describe a time you inherited an underperforming metric or model, disagreed with the team’s preferred fix, yet had to recommend a decision under a tig...
Choose a precise A/B test primary metric
A/B Test: Choose One Primary Metric for a Home-Screen CTA Color Change You are running an A/B test for an app that changes the color of its primary ho...
Reflect on a failed decision and redo it
Behavioral & Leadership (Data Scientist Onsite) Prompt: High-Stakes Decision That Turned Out Wrong Describe one specific decision you owned that mater...
Google Strategic Foresight
Product Strategy Case: Threats and Technology Trends for Google You are presenting to a product leader audience. Be explicit about assumptions and use...
Reason About CPU Microarchitecture and Simulator Design
Reason About CPU Microarchitecture and Simulator Design Answer the following systems questions for a modern out-of-order CPU. State architectural assu...
How would you lead a team through delivery issues?
Interview Prompt (Behavioral & Leadership) You are interviewing for a software engineering role. The interviewer runs a mixed behavioral round: one ex...
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, ...
Design viewing history and resume service
Design: Watched-Video and Resume Playback Service Context Design a backend service that records each user’s watched video list and lets them resume an...
Show leadership and teamwork
Show leadership and teamwork Behavioral Leadership Question Context You are in an onsite software engineering behavioral and leadership interview. The...
Design lexicographic range query word store
Design a storage/data structure for a set of strings that supports lexicographic range queries. You are given a collection of words (strings), stored ...
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...