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."
Demonstrate stakeholder communication and influence
Describe a time you influenced a cross-functional decision using data when stakeholders initially disagreed with your recommendation. Include: the dec...
Build a Next-Word Predictor
Implement a simple next-word model over tokenized training sentences. You need to write two functions: 1. train(sentences): receives a list of tokeniz...
Product Ideation with Street-View Car Images
Product Sense and Decision Making: Street View Images and Fair Delivery You are in a Product Manager interview. Work through two separate product prom...
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...
Learning from Wrong Data
Behavioral Prompt: Decision-Making With Bad or Misleading Data Tell me about a time you made a significant decision based on incorrect or misleading d...
How to handle huge inputs?
In a coding interview, after solving an in-memory algorithmic problem, the interviewer asks: "What would you do if the input were extremely large?" Gi...
Handling an Ambiguous "Family Tree" Prompt
Behavioral/Leadership: Handling an Ambiguous "Family Tree" Prompt Context: In a technical screen, the interviewer says only "there is a family tree" a...
Design a Collaborative Notes Service
Design a collaborative notes service, similar to a lightweight online document editor. Users should be able to create, read, update, delete, and share...
Improve Google Maps and Android phones
You are interviewing for a Product Manager role at Google. Address two product strategy questions. Constraints & Assumptions - For Google Maps, choose...
Determine whether two nodes are related
This question evaluates understanding of graph representations, reachability and connectivity concepts for ancestry relationships, including handling ...
Maximize Boundary-Difference Subarray Sum
Given an integer array nums and an integer k, find the maximum possible sum of a non-empty contiguous subarray whose first and last elements differ by...
Find Shortest Queue with Few Calls
This question evaluates algorithm design and analysis skills, focusing on working with restricted data structure APIs and minimizing total operations ...
Adjust YouTube Ad Scores Using Mixed-Effects Linear Regression
Adjusting YouTube Ad Scores with Mixed-effects Regression One hundred reviewers each rate the same 100 YouTube ads on a 1 to 10 scale. Some reviewers ...
Generate Samples from Truncated Normal Distribution
Sampling from a Truncated Normal Distribution You draw from a normal distribution but only keep observations that are at least 1. Assume the original ...
Identify and Fix Predictive Model Performance Gaps
Model Review: Month Encoding, Feature Scaling, and Imbalanced Data You are auditing an existing predictive model for operational performance. The curr...
Engineer Features to Enhance Smartphone Battery Life Prediction
Battery Life Prediction with Sparse History You are given sparse discharge traces that record battery percentage over elapsed time for prior usage ses...
Explain SLI/SLO/SLA and design monitoring
SLI vs SLO vs SLA for a Web API; Error Budgets; Monitoring and Alerting Design Context: You are designing reliability goals and on-call policies for a...
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 ...
Find conflicting pair using black-box run()
This question evaluates algorithm design and query-complexity reasoning, focusing on efficient search strategies for identifying an interacting pair v...
Solve Two Coding Interview Problems
You are asked to solve two independent coding problems. Problem 1: Evaluate Nested Math Expressions Implement a function that evaluates a string expre...