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."
Find largest digit-sharing subset
You are given an array of N integers. Each integer has exactly two decimal digits (i.e., each element is between 10 and 99 inclusive). You want to cho...
Find numbers with exactly two sum-of-squares forms
Given an integer \(n\), find all integers \(s\) such that \(0 \le s < n\) and \(s\) can be expressed as a sum of two squares in exactly two distinct u...
Handle p≈n linear regression with L1
You must fit linear regression with p = 500 predictors and n = 600 observations. What failure modes do you expect and why does OLS overfit when p is c...
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 ...
Measure outage impact; choose fix vs build
End-to-End Analysis Plan: Investigating Frequent Google Meet Call Drops Context A major enterprise customer reports frequent Google Meet call drops. A...
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...
Decide between two vendors under constraints
You have two third‑party search vendors, A and B, plus historical order‑level data: lead_time_days, unit_price, on_time_rate, defect_rate, min_order_q...
Explain logistic regression vs forests and boosting
Technical Screen — Machine Learning Answer all parts precisely. 1) Binary logistic regression: model, loss, gradient, convexity - Define the model: p(...
Explain mixed models and fixed vs random effects
In an applied DS setting, you are modeling an outcome (e.g., watch time per session, conversion, or rating) across multiple entities (e.g., users, cre...
YouTube Data Throughput Estimation
Estimation Challenge: YouTube Daily Data Streamed Problem Estimate how much data YouTube streams to users worldwide in a typical 24-hour period. - Wal...
Maintain k-th largest in a stream
Design and implement a class KthLargest that, given an integer k and an initial list of integers, supports: ( 1) KthLargest(k, nums): constructor; ( 2...
Group movies via graph traversal
You are given n movies labeled 0..n-1 and a list of undirected pairs (a, b) meaning movies a and b are similar. Group all movies into categories where...
Design deduplicated file storage on filesystem
System Design Task: Filesystem-Only, Multi-tenant, Deduplicated File Storage You are asked to design a multi-tenant file storage service with the foll...
Design a distributed rate limiter
Design a Rate Limiter with Burst Allowance and Distributed Coordination Context You are designing a rate limiter for an API gateway that serves high Q...
Estimate Population Mean and Conversion Rate Accurately
Statistical Inference: Hypothesis Tests, Confidence Intervals, Sampling Design, and Truncated Normal Estimation Context You are evaluating a set of pr...
Solve tree, graph, sliding-window problems
Question LeetCode 103. Binary Tree Zigzag Level Order Traversal – given a binary tree root, return its zigzag level-order traversal. LeetCode 207. Cou...
Remove elements to avoid k-prefix duplicates
Question Given two lists listA and listB and an integer k, delete elements from listB so that the first k elements of the new listB share no value wit...
Find top-k distinct elements
Given an integer array nums and an integer k, return the k largest distinct values from nums. Requirements - Values in the output must be distinct (no...
Describe Helping an Underperforming Peer
Answer the following behavioral interview questions: 1. Tell me about a time when you helped a peer or teammate who was underperforming. 2. Tell me ab...
Clarify ambiguous requirements under pressure
Behavioral & Leadership Prompt — Problem Understanding and Clarification (Data Scientist, Technical Screen) Part 1 — Past Experience Describe a time y...