Google Software Engineer Coding & Algorithms Interview Questions
Practice 178 real Coding & Algorithms interview questions for Software Engineer roles at Google.

"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 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 ...
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 ...
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 chat, grid paths, and car rentals
You are given three independent programming tasks. For each, describe and implement an efficient algorithm, and be prepared to analyze its time and sp...
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 ...
Find the Longest Momentum-Aware Water Path
Find the Longest Momentum-Aware Water Path Given an m × n integer height grid, find the maximum number of cells in a valid path. A path may start at a...
Count Good Numbers up to a Limit
Count Good Numbers up to a Limit A positive integer is good when all of the following hold: 1. Its decimal representation contains no digit 0. 2. No d...
Busiest Rental Car
Busiest Rental Car A car-rental branch receives a batch of bookings for the day. Each booking has a pickup time and a return time. The branch wants to...
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 Earliest Fully Connected Time
This question evaluates a candidate's understanding of dynamic graph connectivity, time-ordered event processing, and state maintenance in graphs, inc...
Simulate room assignments for scheduled meetings
This question evaluates scheduling and event-simulation skills, including time-ordered processing, resource allocation with tie-breaking, and efficien...
Find Minimum Rooms Needed
This question evaluates understanding of interval scheduling and conflict detection in time ranges, along with algorithmic reasoning and appropriate d...
Compute Turnstile Crossing Times
This question evaluates proficiency in queue simulation, event-driven scheduling, and handling priority and tie-breaking rules while achieving linear ...
Min boards to cover roof holes
This question evaluates competency in combinatorial optimization and problem modeling for coverage constraints, testing algorithmic reasoning, complex...
Find Players with Uniquely Determined Rankings
Find Players with Uniquely Determined Rankings Problem There are n players numbered 0 through n - 1. Each result (winner, loser) states that the winne...
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...
Infection Spread on a Grid (Cellular Automaton)
This question tests a candidate's ability to implement and optimize a synchronous cellular automaton simulation on a 2D grid, assessing proficiency in...
Find shortest relationship path using BFS
This question evaluates proficiency in graph representations and traversal algorithms—specifically BFS and adjacency-structure construction—for comput...
Find best-matching binary pattern with wildcards
This question evaluates pattern-matching and string-algorithm skills, including handling wildcards and variable-length matches, priority-based rule se...
Simulate In-Place Cellular State Updates
This question evaluates a candidate's ability to implement grid-based state transitions and manage in-place updates with strict space constraints, ass...