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 1–30 of 41 results
Pair with an AI coding assistant to build a rate-limited Wikipedia crawler that first crawls pages whose title initial has not yet been covered, then crawls randomly once all 26 letters are done. Tests frontier design, link normalization, rate limiting and disciplined use of AI-generated code.
GleanMachine Learning EngineerSoftware Engineering FundamentalsOnsiteBuild a React social feed where upvotes and downvotes re-sort posts by score in descending order and pinned posts stay at the top. Tests state design and immutable updates, correct vote-toggle arithmetic, deterministic ordering, accessibility and optimistic persistence with rollback.
GleanFrontend EngineerSoftware Engineering FundamentalsOnsiteThis question evaluates a data scientist's proficiency in time-series analytics and data aggregation, focusing on computing daily active users and a 30-day rolling MAU from user and login tables, and falls under the Data Manipulation (SQL/Python) domain.
GleanData ScientistData Manipulation (SQL/Python)Technical ScreenGiven trains described as time-indexed lists of stations, decide whether a passenger starting at one station at time zero can reach another by riding, waiting and transferring. Tests modeling station and time as search states, handling waits and same-time transfers, and breadth-first search over a time-expanded graph.
GleanMachine Learning EngineerCoding & AlgorithmsOnsiteGiven a string of only open and close parentheses, delete the fewest characters so the rest is balanced and return the resulting string, using standard left-to-right matching to define a unique answer. Tests bracket matching, linear-time scanning and careful handling of leftover unmatched characters.
GleanSoftware EngineerCoding & AlgorithmsOnsiteThis question evaluates competencies in ML system design, similarity and representation modeling, feature and data engineering, scalable low-latency serving architectures, and privacy, fairness, and evaluation practices.
GleanMachine Learning EngineerML System DesignOnsiteDesign real-time typeahead for an enterprise search product that suggests past searches, people, documents, apps and filters as the user types. Tests client request policy and stale-response handling, accessible combobox UI, permission-aware backend fan-out, blending across sources and latency budgets.
GleanFrontend EngineerSystem DesignOnsiteAn open-ended testing scenario: design a test strategy for a system that counts the leaves on a large tree. Tests clarifying an ambiguous system, finding a test oracle, functional and boundary cases, scale and robustness testing, and setting release criteria for counts that may be estimates.
GleanSoftware EngineerSoftware Engineering FundamentalsOnsiteDesign a learned distance between any two employees of a company that reflects how much they actually work together. Tests ML framing without ground-truth labels, collaboration signals and their normalization, link-prediction training, evaluation, privacy and serving at company scale.
GleanMachine Learning EngineerML System DesignOnsiteSolve train-schedule reachability with waiting and transfers using time-respecting graph search. The answer models earliest station arrival, preprocesses station visits, handles forward-only train routes, and explains transfer edge cases and complexity.
GleanMachine Learning EngineerCoding & AlgorithmsTechnical ScreenAsks how to compute the expectation and variance of the sum of two random variables, in general and when they are independent. Tests derivation from definitions, the role of covariance, generalizing to weighted sums and differences, and applying the result to data-science problems such as comparing group means.
GleanData ScientistStatistics & MathOnsiteThis question evaluates a candidate's ability to model and search time-dependent transit networks, combining temporal graph reasoning, state-space search, and path reconstruction for itinerary reporting.
GleanMachine Learning EngineerCoding & AlgorithmsOnsiteGiven a letter grid and a list of words, return every word that can be spelled by a path of edge-adjacent cells without reusing a cell, sorted lexicographically. Covers the single-word search and its many-words follow-up, and tests backtracking and pruning on a large word list.
GleanSoftware EngineerCoding & AlgorithmsOnsiteThis question evaluates proficiency with array manipulation and selection algorithms, specifically understanding order statistics and working with two sorted sequences.
GleanSoftware EngineerCoding & AlgorithmsTechnical ScreenGiven two arrays sorted in non-decreasing order and an integer k, return the k-th largest value among all their elements, counting duplicates separately. Tests reasoning about ranks across two sorted sequences, careful handling of empty arrays and duplicates, and moving past a linear scan toward logarithmic time.
GleanSoftware EngineerCoding & AlgorithmsOnsiteGiven a list of sentences, treat two words as synonyms when they share the same two words before and two words after, close the relation transitively, and return every synonym group in a canonical sorted order. Tests context hashing, union-find or connected components, and exact output formatting.
GleanSoftware EngineerCoding & AlgorithmsOnsiteThis problem evaluates your ability to design a comprehensive testing strategy for an ambiguous, real-world system where an exact 'ground truth' is difficult to obtain.
GleanSoftware EngineerSoftware Engineering FundamentalsTechnical ScreenA behavioral question for a QA engineer: how you handle and organize testing work when a project deadline creates pressure. Tests risk-based prioritization, use of automation and collaboration, transparent communication of remaining risk, and a structured STAR answer with measurable results.
GleanSoftware EngineerBehavioral & LeadershipOnsiteThis question evaluates a data scientist's competency in product analytics, metric definition, experiment design, and causal inference, including articulation of a north-star metric, supporting funnel and guardrail metrics, and handling confounding, seasonality, and heterogeneous effects.
GleanData ScientistAnalytics & ExperimentationOnsiteImplement the move logic of the 2048 sliding-tile game on a 4x4 board: slide and merge tiles for left, right, up and down swipes so each tile merges at most once, then decide when no swipe can change the board. Tests edge-case precision, code reuse across directions and a correct game-over rule.
GleanSoftware EngineerSoftware Engineering FundamentalsOnsiteThis question evaluates array and matrix manipulation, stateful simulation of game mechanics, and handling edge cases such as merge constraints, single-merge-per-move rules, and empty-cell management.
GleanSoftware EngineerCoding & AlgorithmsTechnical ScreenThis question evaluates a candidate's ability to implement array and matrix manipulation, deterministic state-transition logic, and rule-based merging behavior in a grid-based simulation.
GleanSoftware EngineerCoding & AlgorithmsTechnical ScreenA software engineer phone-screen coding exercise: implement the slide-and-merge move of a 2048-style tile board, first to the left with working tests, then for all four directions. It tests careful array manipulation, the single-merge rule, and the trade-off between rotating the board and remapping row and column indices.
GleanSoftware EngineerSoftware Engineering FundamentalsTechnical ScreenThis question evaluates a candidate's ability to implement a rate-limited web crawler, testing skills in crawl frontier management, prioritization by page-title initial, deduplication, rate limiting, and robust error handling.
GleanMachine Learning EngineerCoding & AlgorithmsOnsiteImplement two-player Connect Four on a 6x7 board: drop discs into columns, detect four in a row in every direction, handle full columns and draws, and render a playable interface. Tests clean separation of game logic from UI, efficient win checks from the last move and careful edge handling.
GleanFrontend EngineerSoftware Engineering FundamentalsOnsiteImplement a Byte Pair Encoding (BPE) tokenizer with training, encoding, and decoding capabilities using frequency-based iterative merging.
GleanSoftware EngineerCoding & AlgorithmsTechnical ScreenImplement a byte-pair encoding tokenizer with train, encode and decode, where training repeatedly merges the most frequent adjacent token pair whose count reaches a threshold, breaking ties lexicographically. Tests precise reading of the merge rules, round-trip correctness and the complexity of training on long text.
GleanSoftware EngineerSoftware Engineering FundamentalsOnsiteThis behavioral question assesses your ability to apply risk-based prioritization, manage quality trade-offs, and communicate transparently with stakeholders when engineering deadlines constrain testing capacity.
GleanSoftware EngineerBehavioral & LeadershipTechnical ScreenA data scientist product case: define how to measure the success of a product, practiced on an enterprise search tool. Tests building a metric hierarchy with a north star, input metrics and guardrails, separating users from paying customers, defining a successful search and attributing changes causally.
GleanData ScientistAnalytics & ExperimentationOnsiteReplace every value in a matrix of distinct integers with the smallest rank such that larger values outrank smaller ones within each row and column. Tests processing values in sorted order, tracking per-row and per-column state, and the one-dimensional special case.
GleanSoftware EngineerCoding & AlgorithmsOnsite
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
