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
Given raw 3-axis accelerometer and gyroscope streams from Apple Watch, describe the features you would engineer for a fall detection classifier and how you would validate them.
An experiment randomizes customers, but the team's key metric is add-to-cart events per session. Explain why a naive per-session t-test is wrong and compute the correct standard error.
Leadership worries the For You feed creates repetitive filter bubbles. Define a metric for healthy content diversity that could be used as a guardrail in ranking experiments.
Design a service that watches telemetry from every GPU node (XIDs, ECC counts, thermals, NVLink and InfiniBand link state), decides when a node is unhealthy, and safely drains, reboots or sends it to repair without wrecking running customer jobs.
A new default model has AUC 0.80 versus 0.78 for the current one, yet a backtest shows lower profit at the chosen approval cutoff. Explain how this can happen and which evaluation you would use instead to choose between the models.
Describe a week when on-call duties kept pulling you away from a project deadline. How did you manage both, and what did you change afterward?
Tell me about a time a change you shipped caused a production or customer-facing outage. How did you handle the escalation, and what did you change afterward?
Implement integer division that truncates toward zero for 32-bit signed integers without using *, /, or %. Clamp the result to the 32-bit signed range on overflow.
Build a per-API-key rate limiter that caps the number of LLM tokens (not requests) consumed in a sliding time window, returns how long a rejected caller should wait, and can correct a reservation once the real completion length is known.
Given a list of scan timestamps as 'HH:MM' strings from one fulfillment center day, return the clock hour (0 to 23) with the most scans, breaking ties by the earliest hour. Then generalize to the busiest 60-minute window starting at any minute.
Given a set of services and dependency pairs (a, b) meaning a must be deployed before b, return the deployments grouped into waves where each wave contains every service whose dependencies are all in earlier waves, or report a cycle.
Describe a time your team lost capacity partway through a plan, through attrition, reorg, or leave. How did you re-plan, what did you drop, and how did you communicate it?
Each account lists the device ids and payment card fingerprints it has used. Two accounts belong to the same ring if they share any device or any card, directly or through a chain of accounts; return every ring with more than one account.
Each queue has a backlog of messages. With batch size b, queue i needs ceil(backlog[i] / b) batches. Return the smallest positive integer b such that the total number of batches across all queues is at most a given limit.
Tell me about a time you disagreed with a risk, legal, or compliance partner about a control that was hurting users or a key metric. How did you resolve it without weakening the protection the control provided?
Design the system that continuously syncs Ramp transactions, bills and reimbursements into thousands of customers' accounting systems, respecting each ERP's API rate limits, ordering constraints and month-end bursts.
Your fleet has driven n driverless miles with zero events of a certain severe type. How many miles do you need, with zero events, to claim with 95% confidence that the true rate is below 1 per million miles, and how does the answer change if one event occurs?
Design the ML system that suggests a listing price to a seller (and optionally updates it over time) so the ticket is likely to sell before the event, given that inventory expires worthless when the event starts.
From a table of Marketplace listings, compute daily new listings per country and the percent change versus the same weekday one week earlier. Days with zero listings must still count as data points.
Implement a single-instrument limit order book that accepts add and cancel requests, matches incoming orders against resting liquidity using price-time priority, returns the generated trades and reports the best bid and ask.
Get the full picture with our company interview guides.
Tell us what you were asked. Get 1 AI interview credit for each approved report.