Company
Glean interview questions
41 practice questions in the style of Glean's interviews, covering Software Engineering Fundamentals, Data Manipulation (SQL/Python), Coding & Algorithms, ML System Design, System Design, Statistics & Math, Behavioral & Leadership, Analytics & Experimentation.
3 easy35 medium3 hard
Glean interview questions by the numbers
Last updated
Katkat has 41 Glean interview questions. The largest topics are Coding & Algorithms (49%), Software Engineering Fundamentals (24%) and Analytics & Experimentation (5%). By difficulty: 7% easy, 85% medium and 7% hard. The most common round is Onsite (66%). Frequent concepts include Design, Algorithms, arrays and Asynchronous.
Topics
- Coding & Algorithms49% · 20
- Behavioral & Leadership5% · 2
- ML System Design5% · 2
- Statistics & Math5% · 2
- System Design2% · 1
Difficulty
- Easy7% · 3
- Medium85% · 35
- Hard7% · 3
Interview rounds
- Onsite66% · 27
- Technical Screen34% · 14
Roles
- Software Engineer61% · 25
- Machine Learning Engineer17% · 7
- Data Scientist15% · 6
- Frontend Engineer7% · 3
Frequent concepts
- Design5% · 2
- Algorithms2% · 1
- arrays2% · 1
- Asynchronous2% · 1
- Behavioral2% · 1
- Computer Vision2% · 1
Showing 31–41 of 41 results
Restore a nearly sorted array where at most one element has been removed and reinserted elsewhere, in linear time and without mutating the input array.
GleanSoftware EngineerCoding & AlgorithmsTechnical ScreenDesign an in-memory prefix search system that returns the top-k department suggestions based on popularity scores, with deterministic tie-breaking.
GleanSoftware EngineerCoding & AlgorithmsTechnical ScreenThis problem tests your ability to write robust browser automation code using Selenium, focusing on handling dynamic content, timing issues, and basic error handling.
GleanSoftware EngineerSoftware Engineering FundamentalsTechnical ScreenThree SQL questions on a login table: daily active users with zero-filled days, rolling 30-day MAU per date with a weekday-usage follow-up, and how a user-ID rehash inflates MAU. Tests distinct counting, calendar generation, window boundaries, query cost and reasoning about metric artifacts.
GleanData ScientistData Manipulation (SQL/Python)OnsiteThis question evaluates algorithmic problem-solving in grid traversal and multi-word string search, targeting competencies in pathfinding, string matching, efficient use of data structures for shared prefixes, and time/space complexity analysis within the Coding & Algorithms domain.
GleanSoftware EngineerCoding & AlgorithmsTechnical ScreenReturn the top k suggestions whose ngram starts with a query and whose department matches the user, from a static list that already fills half of the server's memory. Tests prefix indexing, top-k extraction without scanning all matches, and explicit memory accounting against latency.
GleanSoftware EngineerSoftware Engineering FundamentalsOnsiteFind the shortest distance between any X and any Y, first in a string and then in a 2D grid using Manhattan distance, returning -1 when one letter is missing. Tests moving from a linear scan to multi-source breadth-first search and reasoning about efficiency on large grids.
GleanSoftware EngineerCoding & AlgorithmsOnsiteSimulate documents assigned to indexers by index modulo m, falling through to the next free indexer with wrap-around and dropping documents when all are busy, then report processed totals, the busiest indexer and the top-k share. Tests event simulation, finding the next free slot efficiently and precise tie rules.
GleanSoftware EngineerCoding & AlgorithmsOnsiteThis question evaluates simulation of parallel worker scheduling, time-based queue processing, modular assignment logic, and aggregation/ranking (top-k and percentage) competencies for tracking per-worker workloads.
GleanSoftware EngineerCoding & AlgorithmsTechnical ScreenGiven an array that was sorted until one element was moved to another position, return it sorted again in linear time without a full sort. Tests locating the displaced element in either direction, handling duplicates and already-sorted input, and reasoning about O(n) time with constant extra space.
GleanSoftware EngineerCoding & AlgorithmsOnsiteThis question evaluates understanding of expectation, variance and covariance and the ability to reason about how sums of random variables affect their moments, including the role of covariance and the special case of independence in the Statistics & Math domain.
GleanData ScientistStatistics & MathOnsite
Glean interview experiences
All 1 →- Five SQL Questions and a Rehashed User ID PuzzleGlean · Data Scientist · Technical Screen · Nov 2025
I haven't seen an interview post about this company, so let me be the first. There were 5 SQL questions, and the interviewer was a DS. The questions themselves weren't that hard, but a lot of the open discussion was pretty tricky. Two tables: users with user_id, signup_date, and login with user_id, browser, date. A few of the questions stuck with me: Calculate login DAU, and if there are days wit…
More companies
- Meta666
- Amazon653
- Google486
- OpenAI342
- Capital One268
- Microsoft252
- DoorDash241
- Anthropic225
- Uber217
- Apple177
- TikTok176
- Pinterest161
- ByteDance160
- LinkedIn154
- Stripe139
- Snowflake130
- Databricks122
- Airbnb112
- Rippling106
- Oracle104
- Coinbase99
- Netflix97
- NVIDIA95
- Snapchat94
- Citadel90
- Waymo90
- Instacart87
- Roblox84
- Salesforce77
- Optiver76
- Shopify63
- Robinhood60
- Atlassian55
- Hudson River Trading55
- Two Sigma55
- J.P. Morgan53
- PayPal53
- xAI53
- Lyft52
- Tesla52
