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

"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 Two Array Optimization Problems
You are given two coding problems from the same interview round. Problem 1: Split a gold chain fairly An array weights represents the weights of conse...
Find Earliest Fully Connected Time
You are given n people labeled 0 to n - 1 and a list of friendship logs. Each log has the form (timestamp, personA, personB, action), where action is ...
Find Shortest Queue with Few Calls
You are given a list of queues of integers. For each queue, the only available operations are isEmpty() and poll(), where poll() removes and returns t...
Find Dictionary Matches for a Jammed String
You are given: - a dictionary of lowercase words - an input string jammed_string A keyboard may be stuck, so when typing an original word, any charact...
Solve checksum and dependency debugging tasks
The online assessment contained two coding tasks. 1. Build a validation string from checksums You are given: - a lowercase string s - a validation str...
Can board states be transformed?
You are given two strings, start and target, of equal length representing a one-dimensional board. Each character is one of: - L: a piece that may mov...
Check if all substrings are anagrams of words
You are given a string s (letters only) and access to an English dictionary dict (a set of valid words). Return true if every contiguous substring of ...
Find Minimum Rooms Needed
You are given a list of meeting intervals, where each interval is represented as [start, end) and start < end. Two meetings conflict if their time ran...
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 ...
Check if all substrings are dictionary words
You are given a string s (letters only) and access to an English dictionary dict (a set of valid words). Return true if every contiguous substring of ...
Find largest subset sharing a common digit
You are given an array nums of length N (1 ≤ N ≤ 100). Every element is a two-digit integer between 10 and 99 (inclusive). Select as many elements as ...
Determine if a 14-tile hand is winning
You are given an integer array tiles of length 14 representing a Mahjong-like hand. Each integer is a tile value from 1 to 9 (single suit). You may re...
Return dictionary words matching a prefix
You are given a list of strings words (a dictionary) and a string prefix. Return all words in words that start with prefix. Clarifications/constraints...
Solve array-sum and city-community problems
Two coding problems were asked in a phone screen for a Software Engineer role: 1. Count contiguous segments with a target sum Given an integer arra...
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...
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...
Find cheapest common ancestor in a tree
Coding You are given a rooted tree where each node has: - an integer price - a pointer to its parent (root has parent = null) - a list of children Giv...
Find shortest relationship path using BFS
Problem You are given a set of pairwise relationships between entities (people/services/etc.). Treat each relationship as an undirected edge in a grap...
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]...
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...