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."
Construct connected crop layout and safe paths
Problem A — Construct a garden with connected crop regions You are given an N × M rectangular grid (a garden) that must be fully planted using k crop ...
Compute minimum rooms for time intervals
You are given a list of meeting time intervals, where each interval is represented as [start, end) (start time inclusive, end time exclusive) and star...
Add two big integers from digit lists
You are given two non-empty singly linked lists (or arrays) representing two non-negative integers. The digits are stored in reverse order, and each n...
Build and evaluate a full ML pipeline
You must predict both (1) probability that a user will spend >$0 in the next 7 days (classification) and (2) expected spend in the next 7 days (regres...
Infer distribution and choose robust statistics
A dataset of n=10,000 session revenues (USD) has: 65% zeros; mean=8.5; median=0; p90=30; p95=120; p99=620. (a) Propose a plausible generative model (e...
Implement longest subarray summing to k
Given an integer array nums (length ≤ 200,000; values may be negative) and integer k, return the maximum length and the [l, r] indices of a contiguous...
Design and critique an abuse-detection ML system
ML System Design: Abusive Content Detection and Triage (Trust & Safety) Context: You are designing an ML system to identify and triage abusive content...
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...
Troubleshoot CPU, latency, and DNS issues
A) A Linux server’s CPU usage suddenly spikes. What immediate checks and commands would you run (e.g., top/htop, pidstat, perf, iostat), how would you...
Describe your proudest project
Behavioral prompt: Describe the project you are most proud of (Machine Learning Engineer) Provide a concise, technical, leadership-focused walkthrough...
Compute shortest paths with blocked nodes
Given a graph with nodes and edges and a designated source node s, compute the shortest distance from s to every other node. Some nodes are inaccessib...
Evaluate career paths under visa constraints
Career Decision Analysis After Layoff: 7 Paths, Decision Criteria, Matrix, Recommendation, and 90-Day Plans Context You are a laid-off software engine...
Design line-preserving file chunker pipeline
System Design: Pack Text Lines into Exact 100 MB Output Files Design a data pipeline that reads many text files of varying sizes and emits output file...
Design executable notebook service APIs
Design: Collaborative Notebook with Executable User Functions (JAR Upload) Context Design a collaborative, browser-based code notebook service. The sy...
Design a Twitter hashtag metrics aggregator
System Design: Hashtag Metrics Aggregator Design a service that ingests a high-volume stream of social posts (like tweets) and produces metrics/aggreg...
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...
Find right-side view of binary tree
You are given the root of a binary tree. From the right side of the tree, at each depth you can see exactly one node: the rightmost node at that depth...
Find where to cut cake into equal areas
Cut a cake so both sides have equal area A cake is made of N rectangular blocks arranged left-to-right in a straight line (no gaps, no overlap). Block...
Simulate room assignments for scheduled meetings
Problem You are given n meeting rooms labeled 0..n-1 and a list of meetings meetings, where each meeting is [start, end] with start < end. Meetings ar...
Answer parity-alternation range queries
You are given an integer array nums of length n and q queries. Each query is a pair [l, r] (0-indexed, inclusive). A subarray nums[l..r] is called alt...