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 a rolling hit counter API
Rolling hit counter (time/space optimized) Design a data structure that records events (“hits”) and can return how many hits happened in the most rece...
Find conflicting pair using black-box run()
Problem You are given a list tests of n distinct test cases (you can treat them as IDs or objects). You also have access to a black-box function: - ru...
Match people to questions using tags and priorities
You are building a simplified “Q&A matching” feature. You have: - people: N people, where person i has a set of expertise tags P[i]. - questions: M qu...
List regularization methods and trade-offs
Question: Compare Regularization Techniques and When to Use Them Context: You are interviewing for a machine learning engineering role and are asked t...
Design an editable sequence with marker
Design a mutable ordered sequence of elements together with a marker that points to one element in the sequence. Support the following operations: - I...
Design street-view image ingestion and storage system
Prompt Design a system to ingest, store, and process street-level images for a "Street View"-like product. Scenario - A fleet of taxis is equipped wit...
Design a waitlist system with top/bottom K
Object-Oriented Design: Waitlist System Design and implement (at the class/interface level) a waitlist system that supports the following operations: ...
Choose Fast or Cheap Models
You are building an AI-powered product and must choose between two inference options for each request: - Option A: higher cost per token, but lower la...
Design a global restaurant menu update system
Design a menu update system for a global chain of restaurants. Context: - The chain operates in many countries. - Each restaurant may have multiple ki...
Solve several streaming, DAG, and DP tasks
You were asked multiple algorithmic questions. 1) Streaming longest subarray with average S You receive an infinite stream of integers (can be positiv...
Analyze data duplication effects in linear regression
OLS With Duplicated Observations: Estimator, Variance, and Inference Pitfalls Context: You have the linear model y = Xβ + ε with full-rank X ∈ ℝ^{n×p}...
Design a large-scale distributed rate limiter
Problem Design a multi-tenant, large-scale distributed Rate Limiter service used by many internal teams. The service should allow product teams to enf...
Describe conflict, ambiguity, and process improvement
Prepare STAR-style responses for these behavioral prompts: - Tell me about a time you had a conflict with your manager. - Tell me about a time you imp...
Apply Range Overwrite Queries
You are given an integer array nums of length n and a list of range-assignment queries. Each query is a tuple (left, right, value), where left and rig...
Model Soccer Shot Conversion
You are given event-level soccer shot data, and possibly tracking or contextual data. Build a model that predicts the probability that a shot becomes ...
Answer leadership and quality tradeoff questions
Answer the following behavioral questions with specific examples. 1. Describe a project you led. Why was it challenging? 2. Have you changed any hobbi...
Find Earliest Fully Connected Time
You are given n people labeled 0 to n - 1 and a list of friendship logs. Each log has the form (timestamp, personA, personB, action), where action is ...
Find Minimum Rooms Needed
You are given a list of meeting intervals, where each interval is represented as [start, end) and start < end. Two meetings conflict if their time ran...
Design distributed message queue service
Design a Distributed Message Queue for High Throughput and Large Payloads Context You are asked to design a distributed message queue system that supp...
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 ...