23 questions

  • Aggregate and query vehicle telemetrySystem designA fleet of vehicles reports data such as detected obstacles and vehicle metrics. Design how this data is ingested, aggregated and queried, for example counts over time and place…
    Last asked Aug 2026
  • Fast search over large autonomous-vehicle logsSystem designVehicles produce large raw logs and vehicle records. Design how engineers search them quickly, for example for every record that matches some conditions, when the data is far…
    Last asked Aug 2026
  • Design a GPU scheduling platformAI systemShare a large GPU cluster among research and production teams: queue training and inference jobs, enforce quotas and priorities, place jobs on topology-aware hardware, and preempt…
    Last asked Aug 2026
  • Design an autonomous-vehicle simulatorSystem designDesign a simulation system for testing self-driving software: how scenarios are defined, how the vehicle software runs against simulated sensors and other actors, how many…
    Last asked Aug 2026
  • Locks versus MVCC in a versioned storeCodingYou have a store that keeps versions of its data. Compare protecting concurrent readers and writers with locks against multi-version concurrency control: how each works, what…
    Last asked Aug 2026
  • Project deep dive: present a project you ledBehavioralPresent a project you led in about 20 minutes: context, your role, the architecture, three hard trade-offs, metrics, cost and return, and what you would change. Then take 25…
    Last asked Aug 2026
  • Schedule video processing across CPU and GPU workersSystem designVideo processing jobs have stages, some suited to CPUs and some to GPUs. Design how jobs are split into stages and scheduled across the two pools of machines to keep both busy…
    Last asked Aug 2026
  • Design a distributed job schedulerSystem designDesign a service that runs millions of scheduled and on-demand jobs (cron-like and one-off) reliably across a fleet of workers.
    Last asked Aug 2026
  • Zipline between two trees maximizing height times spanCodingTrees stand one unit apart with heights heightsi. A zipline joins two different trees at one height, no higher than the shorter tree. Its value is that height times the distance…
    Last asked Aug 2026
  • Minesweeper: reveal a regionCodingImplement a click on a Minesweeper board. Clicking a mine ends the game. Clicking a cell with mines around it shows the count. Clicking a cell with none reveals it and spreads to…
    Last asked Aug 2026
  • Video playback loop at 25 frames per secondCodingYou get a VideoPlayer with a Read() that returns the next frame and a call that renders a frame. Write the playback loop: frames must be shown at a steady 25 frames per second…
    Last asked Aug 2026
  • Two contiguous delivery routes with the most revenueCodingStops along a line each bring some revenue. Pick two contiguous routes (segments of stops) that do not overlap so that their total revenue is as large as possible.
    Last asked Jul 2026
  • Weighted random pick with add and removeCoding1. Given positive weights, return a random index with probability proportional to its weight. 2. Turn it into a structure of weighted keys that supports adding a key, removing a…
    Last asked Jul 2026
  • Thread-safe scheduler for periodic jobsCodingWrite a scheduler that runs functions periodically, at a frequency such as 50 Hz, with schedule and cancel. One thread runs the jobs while other threads may add or cancel them at…
    Last asked May 2026
  • Interval list intersectionsCodingGiven two lists of closed intervals, each sorted and non-overlapping within itself, return every intersection between an interval of the first list and one of the second.
    Last asked May 2026
  • Group 3D points within a distance thresholdCodingGiven points in 3D and a distance threshold, group them so that two points closer than the threshold end up in the same group, directly or through a chain of close points. Return…
    Last asked May 2026
  • Parse logs and count error codesCodingRead lines of a log, pull out the error code from each line that has one, and count how often each code appears. Skip malformed lines.
    Last asked Feb 2026
  • Design a model inference pipelineML designBilled as ML design but really ML infrastructure: design a pipeline that serves a trained model's predictions. Cover how requests or data arrive, batching, GPU use, model versions…
    Last asked Jan 2026
  • Maximum path sum in an N-ary treeCodingEach node of an N-ary tree holds an integer. A path joins any two nodes through parent and child links and visits each node at most once. Return the largest path sum. Unlike the…
    Last asked Jan 2026
  • Find the gaps between intervalsCodingGiven a list of intervals in any order, return every gap that no interval covers between the earliest start and the latest end. It is merge intervals, but you return the spaces in…
    Last asked Nov 2025
  • Total covered time per session from overlapping clipsCodingA dataset lists driving-log clips with a set id, a run id, a start time and an end time. Clips within a set can overlap. For each set, compute the total time covered by its clips…
    Possibly retired