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."
Explain GRPO-style training for diffusion models
You are given a pretrained image diffusion model that generates images conditioned on text prompts (e.g., a text-to-image model). You now want to fine...
Implement an LRU cache
Design a key-value cache with a fixed capacity. It must support: - get(key): return the value for the key if it exists, otherwise return -1. - put(key...
How would you answer these behavioral prompts?
You are in a behavioral interview. Prepare structured answers (with concrete examples) for the following prompts. Expect follow-ups such as: Why was y...
Assign meetings to rooms with delays
You are given: - An integer n (number of meeting rooms, labeled 0..n-1). - A list of m meetings meetings[i] = [start_i, end_i) with start_i < end_i. A...
Maximize sum without choosing adjacent elements
Problem You are given an integer array nums where nums[i] is the value in position i. Select a subset of indices such that no two selected indices are...
Answer project deep-dive and Why Google questions
Scenario This round is conversational (no coding). The interviewer asks about: - One or more personal projects (deep dive) - Internship experience and...
Explain and resolve Simpson’s paradox
Define Simpson’s paradox and construct a concrete numeric example where group-wise success rates favor treatment in each subgroup but the aggregate ra...
Generate all subsets (handle duplicates)
Problem Given an integer array nums, return all possible subsets (the power set). Part A (no duplicates) Assume all elements in nums are distinct. Ret...
Design task scheduler with dependencies
Design a Distributed Task Scheduling Infrastructure Context Design a distributed task scheduling and orchestration system that can run at scale, suppo...
Check if all substrings are dictionary words
You are given a string s (letters only) and access to an English dictionary dict (a set of valid words). Return true if every contiguous substring of ...
Find shared objects across two log files
You are given two large log files representing activity on two different days. Each line of each log has three fields: - timestamp: a time value (you ...
Design set with O(1) random access
Design a data structure ("FancySet") that stores unique integers and supports the following operations, each in average O(1) time: - add(x): Insert va...
Build vs. Buy Decision Framework
Build vs. Buy Decision Framework Scenario Your team needs to deliver a new system to support a product. You can either build it in-house or buy an off...
Determine if a 14-tile hand is winning
You are given an integer array tiles of length 14 representing a Mahjong-like hand. Each integer is a tile value from 1 to 9 (single suit). You may re...
Design autonomous cloud monitoring and remediation
Design an AI-Assisted Monitoring and Auto-Remediation Service Context Design a service that monitors cloud applications across multiple providers, col...
Generate values by weighted probabilities
Weighted Random Sampling Generator (Streaming) You are given: - A list of distinct integers values. - A matching list of nonnegative probabilities (we...
Lead a deep dive on your most complex project
Past project deep dive (Staff/L6) Pick the most complex system you’ve worked on and be prepared for a 30–45 minute deep dive. Expect probing questions...
Maximize coins collected by 3-step pieces
You are given a 1D board of length N. Each cell is in one of three states: - Empty - Piece (a movable token) - Coin (collectible) In one move, you may...
Predict and act on contract renewal risk
Predicting Enterprise Contract Renewal After a Quality Incident Context A video-conferencing provider experienced a spike in call disconnects. You nee...
Derive MLEs and conditional Normal distributions
Normal and Bivariate Normal: PDFs/CDFs, MLEs, Conditioning, and Unbiased Variance Setup - Let X1, …, Xn be i.i.d. Normal(μ, σ²). - Independently, let ...