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."
Design at-least-once notification delivery
System Design: At-Least-Once Notification System Context Design a multi-channel notification platform (email, SMS, push, in-app) that guarantees at-le...
Explain modeling challenges and fixes
Model Development Challenges: Detection, Alternatives, Solution, Evidence Context: In a technical screen for a Machine Learning Engineer, you are aske...
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...
Design an elevator control system
Design the software for a multi-elevator control system in a high-rise building. Specify classes, scheduling algorithms for car assignments, handling ...
Find Maximum Envelope Nesting
You are given a list of envelopes, where each envelope is represented by [width, height]. One envelope can be placed inside another only if both its w...
Explain what happens when you run ls
In Linux, explain the end-to-end flow of what happens when a user types ls in a shell and presses Enter. Include: - What the shell does - How the exec...
Can you reach target with distance-threshold edges?
You are given a set of unordered 2D points points[], a start point and an end point (both are included in points), and a function: `text getDistance(p...
Determine Reporting Relationships
Build an in-memory organization model that supports three operations on employee IDs: 1. add_manager(a, b): employee a is the direct manager of employ...
Handle highly imbalanced classification data
You must build a binary classifier for fraud with a 0.2% positive rate and 10M rows × 500 features. Propose an end-to-end plan that covers: 1) data sp...
Diagnose unbiasedness in a messy A/B test
A/B Test ITT Unbiasedness and Remedies Under Noncompliance, Missing Logs, Interference, and Early Stopping Setup - Design: User-level 50/50 A/B test s...
Compute monthly CRR with merges and gaps
You are given PostgreSQL tables user_profile(user_id, signup_ts, country, is_employee, is_test), user_events(user_id, event_ts, event_type, revenue, p...
Design a battery-life predictor and cold-start strategy
Smartphone Time-to-Empty (TTE) Prediction — Baseline, Features, Cold Start, Evaluation, and Monitoring Context You are building a per-device predictor...
Explain ML model fundamentals
Comprehensive ML Concepts: Logistic Regression, Naive Bayes, Transformers, Multi-class Metrics, Bagging vs Boosting Context You are interviewing for a...
Find minimum covering substring
Given two strings s and t, return the shortest contiguous substring of s that contains every character of t with at least the same multiplicities. If ...
Optimize 0/1 to bounded knapsack DP
Solve the 0/1 knapsack problem: given arrays weight[i], value[i] for i=0..n-1 and capacity W, return the maximum value and reconstruct one optimal set...
Find largest subset sharing a common digit
You are given a list of two-digit integers (each from 10 to 99, inclusive). You want to select as many numbers as possible in one selection such that:...
Minimize maximum height along a grid path
You are given an m x n grid heights of distinct integers representing terrain heights. You start at the top-left cell (0,0) and want to reach the bott...
Googleness & Behavioral Deep-Dive
PM Onsite: Behavioral & Leadership Prompts Context: You are a Product Manager candidate in an onsite interview. The interviewer will ask you to respon...
Answer common behavioral questions with follow-ups
Behavioral interview prompt set You are in a standalone Behavioral (BQ) interview. The interviewer asks straightforward, keyword-based questions and t...
Why Would Users Care and Why Build It?
You are interviewing for a Google Product Manager role. Assume the product under discussion is a new Google AI productivity assistant integrated into ...