Google Coding & Algorithms Interview Questions
Practice 518 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."
Solve order-statistics and XOR-triplet problems
This multi-part question evaluates skills in order-statistics and efficient counting for array inversion-like problems, alongside bitwise manipulation...
Write SQL and merge linked lists
The technical interview included two coding-style tasks: a SQL analytics query and merging two sorted linked lists. Constraints & Assumptions - For SQ...
Implement Checksums and Feature Rollout Evaluation
Complete the following two coding tasks in a 90-minute online assessment. An AI coding assistant may be available, but the submitted code must pass th...
Googleness & Behavioral Deep-Dive
PM Onsite Behavioral and Product Critique Prompts You are a Product Manager candidate in an onsite interview. Respond concisely in two to three minute...
Design relational-to-NoSQL migration pipeline
System Design: Migrate From Relational DB to a NoSQL Key-Value Store with Snapshot + CDC Context You need to migrate data from an OLTP relational data...
Design an elevator control system
Elevator Control System Design (N floors, M elevators) Context You are designing a multi-elevator control system for a building with N floors (1..N) a...
Answer common behavioral questions with follow-ups
Behavioral interview prompt set You are in a standalone Behavioral (BQ) interview. The interviewer asks straightforward, keyword-based questions and t...
How do you handle conflict and ambiguity?
You are asked a series of detailed behavioral questions. Answer each with specific context, actions, and measurable outcomes. Conflict, teamwork, and ...
Solve graph and linked list tasks
This question evaluates competencies in dependency graph modeling and reachability, shortest-path computation in weighted directed graphs, and space-e...
Implement frequency + distance top‑K queries
You will implement solutions for two coding interview questions. Question 1: Return the top‑K points by frequency (with distance tie‑break) You are gi...
Design a prioritized log manager with eviction
Design a prioritized log manager with eviction Design a Log Store with Priority- and Recency-Aware Eviction Context You are designing an in-memory (or...
Answer product, collaboration, and prioritization scenarios
Behavioral / Leadership prompts Answer the following (you can assume a 35–40 minute behavioral interview): 1. Intro (5 minutes): Walk through your bac...
Assess education–income effect credibly
This question evaluates a data scientist's competencies in causal inference, experimental design, model selection, estimand specification (ATE) and se...
Handle p≈n linear regression with L1
This question evaluates competence in high-dimensional linear regression, penalized estimation (L1/L2/elastic net), preprocessing and feature handling...
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...
Measure causal impact of YouTube ads
This question evaluates causal inference and experimental design skills for marketing measurement, including competency in identifying confounders, de...
Diagnose unbiasedness in a messy A/B test
This question evaluates a data scientist's ability to diagnose unbiasedness of an intent-to-treat (ITT) estimator in A/B testing under noncompliance, ...
Describe leading cross-functional research collaboration
Behavioral Prompt: STAR Example of Cross-Functional Collaboration Provide a STAR-formatted example from your resume or research where you collaborated...
Analyze time series and design validation experiment
This question evaluates competency in time series analysis, change-point detection, count-based forecasting, causal inference and experiment design, a...
Streaming Points: Remove Any Pair Within a Distance
This question evaluates practical use of ordered data structures for streaming input with proximity-based removal logic. It tests balanced BST or sort...