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 Bootstrap and Statistical Inference
This question evaluates a data scientist's competence with resampling methods (bootstrap), uncertainty quantification and hypothesis testing (variance...
Filter Repeated Robot Status Messages
Filter Repeated Robot Status Messages Implement filter_messages(events) for a robot status stream. Each event is a pair [timestamp, message]. Return, ...
Select MOST/LEAST appropriate actions (SJT)
Situational Judgment Test (SJT): Choose the MOST and LEAST appropriate action This question reproduces the format of a pre-interview Situational Judgm...
Design a pub-sub replay system
This question evaluates a candidate's skills in distributed systems and streaming architectures, including pub-sub replay semantics, message ordering,...
Design a restaurant waitlist system
You are implementing the waitlist system for a restaurant. Parties arrive over time, can cancel, and get seated when a table becomes available. Rules ...
Design an app-store app recommendation system
This question evaluates a candidate's competency in end-to-end machine learning system design for recommender systems, covering personalization, candi...
Busiest Rental Car
This question evaluates a candidate's ability to simulate a resource-allocation process using interval scheduling and greedy assignment rules. It test...
Choose Your Workplace Style
You are taking a forced-choice workplace-style assessment for a Software Engineer role. Each item contains three positive statements. For each item: 1...
Solve chat, grid paths, and car rentals
You are given three independent programming tasks. For each, describe and implement an efficient algorithm, and be prepared to analyze its time and sp...
When do you use mixed-effects models
You are modeling a user outcome (e.g., watch time or retention) across many countries and many users. Observations are nested (multiple days per user;...
Plan a Safe Repository-Wide Identifier Migration
Plan a Safe Repository-Wide Identifier Migration You have a very large repository whose internal variables and function names use snake case. A conver...
Solve three coding interview problems
You are given three independent coding questions. 1) Decode an encoded string Given an encoded string s, decode it using the following rule: - Pattern...
Describe Key Behavioral Examples
Prepare to answer behavioral questions based on past internship or project experience. Common prompts include: 1. Tell me about a time when you disagr...
Find maximum value in huge text file
You are given the path to a very large text file on disk. The file has the following properties: - Each line contains exactly one signed 64-bit intege...
Assign meetings to rooms with delays
This question evaluates skill in scheduling algorithms, priority queue and heap usage, greedy decision-making, and time-based event simulation for man...
Explain LLM lifecycle and trade-offs
Explain the end-to-end lifecycle of a modern large language model. Cover training data collection and filtering, pretraining objectives, transformer a...
Design a fraud detection system
This question evaluates a candidate's competency in designing end-to-end fraud detection machine learning systems, covering real-time and batch featur...
Can bootstrap help reduce variance
An interviewer asks: “Can bootstrap help reduce variance?” Answer this question precisely. Distinguish between: 1) Using the bootstrap to estimate var...
Design an Enterprise AI Adoption Agent for a Global Company
Design an enterprise AI adoption agent for a global company with internal data, tools, and security constraints. `hint Hint 1 Start by stating assumpt...
Design an Unbiased Upgrade Experiment
This question evaluates understanding of causal inference, experiment design, and metric selection in product analytics, including defining causal est...