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."
Model-Based Engineering Rollout
Model-Based Engineering (MBE) for Hardware Development Context You are a Product Manager presenting to a non-expert Google executive. Explain Model-Ba...
Explain your PM transition and growth
You are interviewing for a Product Manager internship. Be prepared to answer a cluster of behavioral questions: - Introduce yourself. - Why do you wan...
Test if one value comes from N(μ,σ²)
Assume the population is N(μ, σ²) with μ and σ known. You observe a single value x = 1.37. Formulate a two-sided hypothesis test H0: X ~ N(μ, σ²) vs H...
Add a conditional column in Python
Using pandas, add a derived column to a table based on multiple conditions with strict precedence and missing-value handling. Given the sample DataFra...
Deduplicate events and rank products with SQL
You are given two tables. Schema: - events(event_id INT PRIMARY KEY, user_id INT, product_id INT, event_time TIMESTAMP, idempotency_key TEXT, amount_c...
How to handle huge inputs?
In a coding interview, after you solve a standard algorithmic problem, the interviewer may ask a follow-up such as: "What would you do if the input we...
Solve Grid and Counting Problems
A software engineering intern phone screen included two coding tasks: 1. Count islands in a grid Given an m x n grid of characters where '1' re...
Design a product for meaningful connections
Design a product that helps users connect with people they want to know, such as mentors, collaborators, or peers. Define the target user segment, the...
Find shortest path with blocked nodes
Question Given an unweighted graph, a start node, an end node, and a block_set of nodes that cannot be traversed, return the length of the shortest pa...
Discuss dissertation and supervision
Behavioral Interview: Dissertation Overview and Supervisor Collaboration Context You are in an onsite behavioral and leadership round for a Machine Le...
Analyze Impact of Customer Reviews on Sales Performance
Measuring the Impact of Product Reviews on Sales Context You are asked to propose how to quantify and causally estimate the impact of product review m...
Remove Duplicates While Preserving Order in List
Scenario A data pipeline receives an unordered list of IDs containing duplicates; downstream components require a duplicate-free list while preserving...
Build Model to Predict Customer Contract Renewal
Predicting Enterprise Customer Renewal for Google Meet You are tasked with designing a model to predict whether an enterprise customer will renew thei...
Build Classifier: Evaluate with AUROC for Imbalanced Data
Detecting Dead Links: Build and Evaluate a Classifier Scenario You have a dataset of 1,000 URLs labeled as good (alive) or bad (dead). The classes are...
Historical FX-Rate Service – System Design
System Design: Historical FX Rates Service (10k QPS) Background You are designing an internal service for engineers and analysts to fetch historical c...
Comprehensive Product Improvement Drill
Product Case Prompt You are given an open-ended product sense prompt. To make it concrete, I will use Spotify (a music and podcast streaming app) as t...
Find Dictionary Matches for a Jammed String
You are given: - a dictionary of lowercase words - an input string jammed_string A keyboard may be stuck, so when typing an original word, any charact...
Solve checksum and dependency debugging tasks
The online assessment contained two coding tasks. 1. Build a validation string from checksums You are given: - a lowercase string s - a validation str...
Determine If Two Strings Are Anagrams Efficiently
Scenario Backend service needs to verify whether two user-provided strings are anagrams for text-matching features. Question Implement a Python functi...
Implement Sampling and Minimize Loss in Numerical Coding
Scenario Numerical coding challenges on sampling and loss minimization. Question a) Implement functions to sample from truncated normal distributions ...