practice a little every day, paws crossed ♡
Interview Questions
Practice 9403 coding, system design and machine learning questions from 546 companies, sorted by role, topic and interview round. Every question has step-by-step hints, a code runner that supports 8 languages and an AI mentor; members also get the full solution walkthrough.
- 9403
- Questions
- 546
- Companies
- 11
- Topics
- 8
- Languages
Showing 3331–3360 of 9403 results
- GeminiMediumData ScientistDetect k events in a sliding window
This question evaluates a candidate's ability to design efficient sliding-window and streaming algorithms for time-series event data, encompassing deduplication, handling bounded out-of-order arrivals and clock skew, distinct-device counting, and meeting specified time and space complexity constraints.
Coding & AlgorithmsOnsite - GeneralmotorsMediumSoftware EngineerChoose Between a Monolith, Microservices, and a Modular Architecture
Compare monolithic and service-based architectures and plan incremental extraction or consolidation around domain boundaries, data ownership, and measured goals.
System DesignTechnical Screen - GeneralmotorsMediumSoftware EngineerConnect Monitoring, Circuit Breakers, Rollback, and CI/CD
Tests your ability to architect an end-to-end reliability workflow combining resilient dependency handling, actionable telemetry, and safe continuous deployment with automated rollbacks.
Software Engineering FundamentalsTechnical ScreenSystem DesignCI/CDReliability - GeneralmotorsHardMachine Learning EngineerCount Islands in a Grid
This problem tests your ability to navigate a 2D grid and identify distinct connected components using graph traversal techniques like Depth-First Search (DFS) or Breadth-First Search (BFS).
Coding & AlgorithmsTechnical ScreenGraphsDFSBFS - GeneralmotorsMediumSoftware EngineerImplement a REST GET Endpoint and Evolve Its Contract Safely
Tests understanding of RESTful API design principles, HTTP semantics, robust error handling, and strategies for backwards-compatible contract evolution.
Software Engineering FundamentalsTechnical ScreenAPI DesignRESTSystem Design - GeneralmotorsMediumSoftware EngineerMeet a 10-second latency and 99% availability target across 3-5 dependent services
An open-ended design discussion about an application that calls three to five dependent services and must keep latency under 10 seconds and availability at 99% or better. It tests objective definitions, availability and tail-latency math, timeouts, retries, fallbacks, and adapting as requirements change.
System DesignOnsite - GigaMediumSoftware EngineerDesign an Agentic Ticket Support System
This question evaluates a candidate's ability to design ML-driven production systems that combine agentic AI, browser-based automation for services without an API, and external user-data APIs to produce personalized support responses.
ML System DesignOnsite - Gimlet LabsMediumMember of Technical Staff, ML SystemsDesign CPU-Cycle Window Alignment for Misaligned Time Series
Define and implement a precise windowing contract for two misaligned CPU-cycle time series using piecewise-linear interpolation, monotone scanning, explicit boundary behavior, and optional interval integration.
Software Engineering FundamentalsOnsite - Gimlet LabsMediumMember of Technical Staff, ML SystemsDesign a Text-to-Image Retrieval System
Design permission-aware text-to-image retrieval with safe ingestion, multimodal embeddings, metadata filtering, approximate search, reranking, relevance evaluation, versioned updates, deletion, and duplicate control.
ML System DesignOnsite - Gimlet LabsMediumMember of Technical Staff, ML SystemsDesign an Offline Inference Platform with Hardware-Aware Routing
Design an offline large-model inference platform that routes prefill and decode across profiled hardware pools while balancing deadlines, fairness, batching, transfer cost, retries, and utilization.
ML System DesignOnsite - Gimlet LabsMediumMember of Technical Staff, ML SystemsImplement an LRU Cache
This problem tests the ability to combine a hash map with a doubly linked list to achieve O(1) performance for cache operations.
Coding & AlgorithmsOnsiteHash MapLinked ListCaching - GleanMediumMachine Learning EngineerAI-Paired Rate-Limited Wikipedia Crawler That Prioritizes Unseen Title Initials
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.
Software Engineering FundamentalsOnsite - GleanMediumFrontend EngineerBuild a React Social Feed with Upvote/Downvote Re-Sorting and Pinned Posts
Build 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.
Software Engineering FundamentalsOnsite - GleanEasyData ScientistCompute DAU and rolling MAU with zero days
This 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.
Data Manipulation (SQL/Python)Technical Screen - GleanMediumMachine Learning EngineerDecide If a Passenger Can Reach a Station Using Time-Indexed Train Routes and Transfers
Given 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.
Coding & AlgorithmsOnsite - GleanMediumSoftware EngineerDelete the Fewest Parentheses to Balance a String of Only Open and Close Brackets
Given 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.
Coding & AlgorithmsOnsite - GleanMediumMachine Learning EngineerDesign Employee-to-Employee Distance
This 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.
ML System DesignOnsite - GleanMediumFrontend EngineerDesign Real-Time Typeahead for Enterprise Search: History, People, Docs, Apps, Filters
Design 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.
System DesignOnsite - GleanMediumSoftware EngineerDesign a Test Strategy for a System That Counts the Leaves on a Large Tree
An 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.
Software Engineering FundamentalsOnsite - GleanMediumMachine Learning EngineerDesign a Work-Together Distance Between Any Two Employees of a Company
Design 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.
ML System DesignOnsite - GleanMediumMachine Learning EngineerDetermine Reachability in Train Schedule
Solve 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.
Coding & AlgorithmsTechnical Screen - GleanMediumData ScientistExpectation and Variance of a Sum of Two Random Variables, Including Covariance
Asks 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.
Statistics & MathOnsite - GleanMediumMachine Learning EngineerFind Earliest Train Route
This 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.
Coding & AlgorithmsOnsite - GleanMediumSoftware EngineerFind Which Words From a List Can Be Traced Through Adjacent Cells of a Letter Grid
Given 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.
Coding & AlgorithmsOnsite - GleanMediumSoftware EngineerFind the Kth Largest in Two Sorted Arrays
This question evaluates proficiency with array manipulation and selection algorithms, specifically understanding order statistics and working with two sorted sequences.
Coding & AlgorithmsTechnical Screen - GleanMediumSoftware EngineerFind the k-th Largest Value Across Two Sorted Arrays Without Fully Merging Them
Given 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.
Coding & AlgorithmsOnsite - GleanMediumSoftware EngineerGroup Words into Transitive Synonym Sets by Shared Two-Words-Before-and-After Context
Given 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.
Coding & AlgorithmsOnsite - GleanMediumSoftware EngineerHow Would You Test a System That Counts the Leaves on a Tree?
This 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.
Software Engineering FundamentalsTechnical ScreenSoftware TestingQA StrategyComputer Vision - GleanMediumSoftware EngineerHow a Tester Prioritizes and Organizes Work Under Project Deadline Pressure
A 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.
Behavioral & LeadershipOnsite - GleanEasyData ScientistHow to measure product success?
This 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.
Analytics & ExperimentationOnsite