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 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 Feature Activation Order
This question evaluates graph-algorithms and dependency-resolution skills, including reasoning about prerequisite relationships, ordering constraints,...
Find top/bottom-k words in list or stream
You are given words (strings) either as a finite list or as an unbounded stream. 1) List version: Given an array words and an integer k, return: - the...
Maximize sum without choosing adjacent elements
This question evaluates a candidate's understanding of array-based optimization and dynamic programming concepts for computing a maximum sum under non...
Compute minimum meeting rooms on circular day
This question evaluates a candidate's ability to reason about interval scheduling, circular time wrap-around, and resource allocation for overlapping ...
Design set with O(1) random access
Design a data structure ("FancySet") that stores unique integers and supports the following operations, each in average O(1) time: - add(x): Insert va...
Match people to questions using tags and priorities
This question evaluates competencies in bipartite matching and combinatorial optimization, along with practical data-structure design for scalable tag...
Count same-color squares in a character grid
You are given a 2D grid (matrix) of characters. Each character represents a color: cells with the same character are considered the same color. Formal...
Find shared objects across two log files
You are given two large log files representing activity on two different days. Each line of each log has three fields: - timestamp: a time value (you ...
Find largest subset sharing a common digit
You are given a list A of two-digit integers (each from 10 to 99). Two integers are said to “share a digit” if they have at least one digit in common ...
Find minimum covering substring
Given two strings s and t, return the shortest contiguous substring of s that contains every character of t with at least the same multiplicities. If ...
Find largest subset sharing a common digit
You are given a list of two-digit integers (each from 10 to 99, inclusive). You want to select as many numbers as possible in one selection such that:...
Solve tree, graph, sliding-window problems
Question LeetCode 103. Binary Tree Zigzag Level Order Traversal – given a binary tree root, return its zigzag level-order traversal. LeetCode 207. Cou...
Validate course catalog dependencies
Design a function to validate an e-learning course catalog. You are given: ( 1) a set of course IDs, and ( 2) a list of prerequisite pairs (u, v) mean...
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...
Delete a Node From a Search Tree
Given the root of a binary search tree and an integer key, delete the node whose value equals key if it exists. Return the possibly new root while pre...
Solve Banana Speed and Interval Merge
During two technical phone screens for a new graduate software engineering role, the candidate was asked to solve two coding problems: minimum eating ...
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...