Google Coding & Algorithms Interview Questions
Practice the exact questions companies are asking right now.

"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 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...
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 ...
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 ...
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 ...
Implement substring search and weighted sampling
Two coding questions were asked in the onsite. 1. Substring search: Given two strings text and pattern, return the starting index of the first occurre...
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 ...
Explain ranking cold-start strategies
You are interviewing for a machine learning engineer role focused on search, recommendations, or ranking. Discuss the following in the context of a la...
Compute winning probability on 1D dice walk
You are on an infinite 1D number line starting at position 0. Repeatedly roll a fair die that returns an integer uniformly at random from 1 to K (incl...
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...
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...
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...
Describe Key Behavioral Examples
Prepare to answer behavioral questions based on past internship or project experience. Common prompts include: 1. Tell me about a time when you disagr...
Find top-k distinct elements
Given an integer array nums and an integer k, return the k largest distinct values from nums. Requirements - Values in the output must be distinct (no...
Solve several coding interview problems
The interview included the following coding problems: 1. Decode ambiguous Morse text: Use the standard Morse mapping for letters A-Z. You are given a ...
Design a pub-sub replay system
Assume you have a distributed publish-subscribe messaging system with topics, publishers that write messages, and subscribers that consume them. Desig...
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...
Simulate meeting-room bookings and return busiest room
You manage n meeting rooms labeled 0..n-1 and receive a list of meetings. Each meeting is an interval [start, end) with start < end. Process meetings ...
Explain LLM fine-tuning and generative models
Machine Learning fundamentals (LLM / Generative AI track) You are interviewed for an ML role focused on LLMs and generative AI. Part A — LLM fine-tuni...
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...