Glean Interview Questions
Practice 14 real interview questions from Glean. Covers Coding & Algorithms, Analytics & Experimentation, Data Manipulation (SQL/Python), ML System Design. For roles including Software Engineer, Data Scientist, Machine Learning Engineer.

"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 Employee-to-Employee Distance
Design an employee-to-employee distance system for a company. The system should take two employees as input and return a meaningful "distance" or simi...
Search Words in a Character Grid
You are given a 2D grid of lowercase English letters. Part 1: Given a single target word, determine whether the word can be formed by a path in the gr...
Implement 2048 Game Logic
Implement the core logic for the 2048 game. You are given an n x n integer board where 0 represents an empty cell and every nonzero value represents a...
Implement 2048 tilt move
Problem: Implement a 2048 “tilt” (move) operation You are given a 4×4 board for the game 2048. Each cell contains either 0 (empty) or a power of two (...
Return Top Department Suggestions
You are given a static in-memory list of Suggestion objects loaded by a server: `text Suggestion { ngram: string, department: int, score: int } ...
Implement Rate-Limited Wikipedia Crawler
Implement a rate-limited Wikipedia crawler. You may use an AI coding assistant during the interview, such as Cursor or Claude Code. You are expected t...
Simulate document assignment to indexers
You are given a system with m parallel indexers (workers), numbered from 0 to m-1. Documents arrive over time and are placed in a processing queue. Ea...
Find Earliest Train Route
You are given a discrete train timetable and need to find a valid route through the train network. Each train has an itinerary represented as a sequen...
Determine Reachability in Train Schedule
You are given a train schedule represented as a list of train routes. Each route is a list of station names, where the element at index t is the stati...
What are sum expectation and variance?
Let random variables X and Y have finite means and variances. How do you compute: 1. The expectation of X + Y 2. The variance of X + Y Your answer sho...
How to measure product success?
You are asked to evaluate whether a product or newly launched feature is successful. Describe how you would define success from a data science and pro...
Compute DAU and rolling MAU with zero days
You have two tables in PostgreSQL: Tables users - user_id (STRING / INT, PK) - signup_date (DATE) logins - user_id (STRING / INT, FK → users.user_id) ...
Reason about MAU error after user ID rehash
A product tracks activity using user_id from login events, and computes MAU as: - MAU (L30D) on date d = number of distinct user_id with at least one ...
Find the Kth Largest in Two Sorted Arrays
You are given two arrays sorted in ascending order and an integer k. Return the kth largest element among all elements from both arrays combined. Coun...