Practice questions for 300+ companies, plus questions candidates reported from their interviews.
11,568 questions · 341 companies · 1,114 reported by candidates
Showing 11,568 results
A city grid starts empty, and delivery drop points are activated one cell at a time; adjacent active cells (up, down, left, right) form one cluster. After each activation, return the current number of clusters.
A Feed test shows a 10% increase in impressions, but the new Feed rendering code also changed when impression events fire. Explain how to detect and fix instrumentation differences between arms.
Cameras at one incident report pairwise clock offsets (camera b's clock minus camera a's) one at a time. Support adding an observation, rejecting it if it contradicts earlier ones beyond a tolerance, and querying the offset between any two cameras.
Given two people's free time slots in Google Calendar, each a list of non-overlapping [start, end] intervals, and a meeting duration, return the earliest [start, start + duration] slot that fits in both, or an empty list.
Write a cyclic barrier that blocks a fixed number of worker threads until all of them arrive, optionally runs an action once per round, and can be reused for the next phase without stragglers slipping through.
Given a singly linked list of shipment weights and a threshold x, rearrange it so all nodes with weight less than x come before nodes with weight greater than or equal to x. Preserve the original relative order inside each group.
Given a list of chat messages (system, user, assistant) and a token budget, return the subset to send to the model: always keep system messages, then keep the most recent turns that fit, preserving order.
Your recommender is retrained daily on clicks it generated itself, and over time it recommends a shrinking set of bestsellers. Explain why this happens and how you would fix it.
Design a service that serves a 70B-parameter chat model on MI300X-class GPUs with 192 GB of HBM each, meeting a latency target for time to first token and inter-token latency while maximizing tokens per second per GPU.
Implement an in-memory cache for photo thumbnails whose capacity is a byte budget rather than an entry count: items have different sizes, eviction is least recently used, and items larger than a size limit are never cached.
Design the media plane that lets a single meeting of up to 1,000 video participants spread across continents run with low latency, where each participant connects to a nearby media server and servers forward streams to each other.
Given a binary grid where 1 marks pixels flagged by a frame-level moderation model, return the number of distinct connected region shapes, where two regions match only if one is a translation of the other.
As a hiring manager, describe a time you made a hire or no-hire decision that went against what your team or a stakeholder wanted. How did you decide and handle the fallout?
Build a uniform-grid spatial hash that supports inserting, moving and removing entities by id and querying all entities within radius r of a point, returning ids sorted.
Design the integration service that keeps EvenUp case data in sync with firms' case management systems (such as Filevine or Litify): pulling new documents and case fields, and writing back finished demands and status, reliably across many firms and vendor APIs.
City A had 1,200 rider cancellations out of 20,000 requests last week and City B had 1,350 out of 20,000. Is the difference statistically significant, and what would make you distrust the test?
Design a service that sends push notifications such as Shipped, Out for Delivery and Delivered to customers' phones as orders move through fulfillment, respecting each customer's notification preferences.
A content moderation classifier scores prompts for several harm categories, and one category appears in about 0.1 percent of traffic. The scores are used both to block content above a threshold and to report estimated prevalence. Explain how to evaluate, calibrate, and set thresholds for this rare class.
Given n independent draws from Uniform(0, theta), find the maximum likelihood estimator of theta, show whether it is biased, and compare an unbiased version with the method-of-moments estimator.
Each node of a binary tree holds an incentive value that can be negative (a clawback). A path is any sequence of connected nodes with no node repeated, and it need not pass through the root. Return the maximum sum over all non-empty paths.
Get the full picture with our company interview guides.
Tell us what you were asked. Get 1 AI interview credit for each approved report.