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."
Find Containing Range
This question evaluates the ability to design appropriate data structures and apply algorithmic reasoning for efficient interval containment queries, ...
Troubleshoot CPU, latency, and DNS issues
A) A Linux server’s CPU usage suddenly spikes. What immediate checks and commands would you run (e.g., top/htop, pidstat, perf, iostat), how would you...
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...
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...
Find secret word with match-count feedback
Problem You are given a list of unique lowercase words, all of the same length (e.g., length = 6). One of these words is a secret word. You can intera...
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]...
Find shortest subarray with at least k distinct
This question evaluates proficiency in array manipulation, frequency counting, and efficient tracking of distinct values within contiguous subarrays, ...
Consolidate On-Call Rotation Segments
This question evaluates proficiency with interval manipulation, set management, sorting and event ordering, and the use of appropriate data structures...
Find Dictionary Matches for a Jammed String
This question evaluates string-processing and pattern-matching skills, specifically run-length grouping of consecutive characters and efficient dictio...
Find top-k distinct elements
This question evaluates understanding of algorithms and data structures for selecting distinct top-k values and enforcing ordering constraints. It is ...
Determine validity after digit-constrained deletions
Determine validity after digit-constrained deletions You're given a string S of length n consisting only of '(' , ')' , and digits '0'–'9'. For every ...
Apply Range Overwrite Queries
You are given an integer array nums of length n and a list of range-assignment queries. Each query is a tuple (left, right, value), where left and rig...
Can board states be transformed?
This question evaluates reasoning about constrained piece movement, string transformation, and invariant-based correctness in the Coding & Algorithms ...
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...
Implement iterator merging lists with filtering
This question evaluates iterator/generator design, sequence merging, stateful filtering and deduplication, checking a candidate's ability to maintain ...
Find longest increasing contiguous subarray
This question evaluates proficiency in array processing and algorithmic optimization, focusing on recognition of contiguous subarray properties and ha...
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...
Compute minimum servers for cyclic tasks
This question evaluates understanding of interval scheduling, overlap detection, and handling cyclic time via modular arithmetic for tasks that wrap p...
Find minimum threshold enabling grid path
This question evaluates a candidate's understanding of grid pathfinding, reachability under constraints, and algorithmic optimization, focusing on ski...
Minimize maximum height along a grid path
This question evaluates algorithmic pathfinding and graph-modeling skills, specifically reasoning about grid-based route selection where the objective...