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."
Find Common Free Time Slots Across Calendars
This question evaluates a candidate's ability to work with interval merging and sweep-line techniques over multiple overlapping schedules. It tests pr...
Count Clusters of 2D Points Within a Radius
This question tests graph traversal skills, specifically identifying connected components among a set of 2D points using distance-based adjacency. It ...
Find the Longest Path of Equal-Valued Tree Nodes
Find the longest path of equal-valued nodes in a binary tree encoded as a breadth-first list. Clarify the ambiguity with strict BST terminology, then ...
Most Active Users in a Live Communication Stream
This question tests practical application of hash-based data structures and stream processing to track and rank user activity with deduplication logic...
Rearrange Tasks With Cooldown
This question evaluates task-scheduling and constraint-handling skills, testing algorithmic reasoning about arranging repeated jobs with cooldown cons...
Implement Employee Management and Expression Evaluation
This question evaluates competency in designing and maintaining hierarchical data structures and in parsing and evaluating nested function-style arith...
Solve Flower Placement and Directory Deletion
This question evaluates combinatorial constraint-satisfaction and permutation/matching skills for the flower-placement grid alongside filesystem trave...
Solve Quickselect, Tree Distance, and Prefix Substrings
You are given three independent coding tasks. 1. Implement Quickselect - Given an unsorted integer array nums and an integer k, return the k-th sma...
Count Spellings Using Chemical Element Symbols
Count Spellings Using Chemical Element Symbols Problem Given a list of valid chemical element symbols and a target word, count how many distinct ways ...
Find Maximum Envelope Nesting
This question evaluates algorithmic problem-solving skills, particularly reasoning about multi-dimensional ordering, sequence optimization, and time-c...
Compute minimum rooms for time intervals
You are given a list of meeting time intervals, where each interval is represented as [start, end) (start time inclusive, end time exclusive) and star...
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...
Determine Reporting Relationships
Build an in-memory organization model that supports three operations on employee IDs: 1. add_manager(a, b): employee a is the direct manager of employ...
Design Tic-Tac-Toe With K Players
Design and implement a Tic-Tac-Toe game engine. You are given: - k players, each with a unique player ID or mark. - An n x n board, initially empty. -...
Find cheapest common ancestor in a tree
This question evaluates understanding of tree data structures and ancestor concepts (such as lowest common ancestor) along with algorithmic skills for...
Check pivot after removing one element
This question evaluates array-manipulation skills, cumulative-sum/prefix-sum reasoning, and robustness in handling negative values and duplicates, tes...
Build a next-word frequency predictor
This question evaluates understanding of data structures and algorithms for frequency counting and associative lookups, including preprocessing-versus...
Compute minimum number of rooms needed
Problem You are given a list of meetings, each with a start time and end time. A single room can host only one meeting at a time. Two meetings overlap...
Min deletions to avoid overlap in first k
This question evaluates array and sequence manipulation skills, set-based reasoning about value overlap, and the ability to compute minimal edits whil...
Validate parent array forms a tree
Problem You are given an integer array parent of length n describing a directed parent pointer for each node i (nodes are labeled 0..n-1). - parent[i]...