Google Coding & Algorithms Interview Questions
Practice 514 real Google interview questions for 2026. Covers Coding & Algorithms, Behavioral & Leadership, Analytics & Experimentation, Machine Learning, and System Design across Software Engineer, Data Scientist, Machine Learning Engineer, Product Manager, and Data Engineer roles — real questions from actual interviews with detailed solutions to accelerate interview preparation. This collection highlights the coding-first bar Google uses: expect heavy algorithmic work, role-related data and ML problems, a Googleyness/leadership round, and level-specific differences in what’s decisive. What’s distinctive: for Software Engineers you’ll see spatial and streaming algorithms, concurrency and async primitives, LLM-foundations and GPU-job scheduling, plus object-design problems like room assignment; Data Scientists are weighted toward causal experiments, funnel and product-metric diagnostics, bootstrap inference, and percentile/sampling algorithms; ML Engineers focus on transformer blocks, recommendation design and ranking cold-starts; PMs get Maps/Android and product-ideation tradeoffs plus throughput and revenue sizing. New-grad and intern tracks emphasize phone screens and virtual onsites; Google L4 typically keeps the loop coding-heavy while Google L5 expects stronger system-design and cross-team leadership signals. Use focused practice, mock interviews, and level-specific stories to prepare.

"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 large-scale near-duplicate video detection
This question evaluates a Machine Learning Engineer's competency in scalable similarity search and representation learning for multimedia, including e...
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(...
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...
Choose best/worst actions in workplace ethics scenarios
You are taking a situational judgment test (SJT). For each scenario below, the test presents four possible actions. You must select: - Most likely / b...
Explain LLM fine-tuning and generative models
This question evaluates understanding of LLM adaptation techniques and trade-offs (fine-tuning and parameter-efficient methods) alongside knowledge of...
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...
Respond to long-term concerns after A/B success
Your model performs well in an A/B test (statistically significant lift on the primary metric). However, your manager believes the model may harm long...
How to host many domains on one IP?
You have a single Linux server with one public IPv4 address. A coffee shop, butcher shop, and auto repair shop each want their own website and their o...
Answer common collaboration behavioral questions
Behavioral interview prompts Answer the following behavioral questions with concrete examples (use the STAR or CAR framework). Focus on your specific ...
Compare NLP tokenization and LLM recommendations
This question evaluates a candidate's understanding of NLP tokenization approaches and the ability to design LLM-based recommendation components, asse...
Answer leadership and ambiguity scenarios
Question Answer the following behavioral & leadership questions with concrete examples. Use a structured format such as STAR (Situation, Task, Actions...
Design an ads retrieval service using a heap
This question evaluates understanding of priority queues/heaps, object-oriented API design, and algorithmic techniques for maintaining dynamic priorit...
Design a waitlist manager
This question evaluates object-oriented design and data-structure competency—modeling a FIFO waitlist API, managing unique party identifiers and edge ...
Design a key-value store
System Design: Scalable Key–Value Store with Range Scans You are asked to design a distributed key–value (KV) store that supports the following operat...
Find fair split of a two-color necklace
Given a circular necklace represented by a string s over {'a','b'}, you may cut the necklace at most twice (yielding three contiguous pieces). Can you...
Design tests to measure latency impact
Question You are a Data Scientist supporting a large consumer product (e.g., YouTube). Engineering ships a change intended to reduce client-side / vid...
Deterministic Task Execution Order
This question evaluates a candidate's ability to model task dependencies as a directed graph and produce a valid execution order, a core graph algorit...
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 a Dormitory Room-Assignment System (OOD)
You are asked to design the object-oriented model for a dormitory room-assignment system. You are given a set of students and a set of rooms. Each roo...
Describe a challenging project and how you succeeded
Behavioral prompts Answer the following using a structured format (e.g., STAR: Situation, Task, Action, Result), focusing on your contributions, trade...