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
DoorDash wants to promote pickup orders with a discount banner. How would you measure whether new pickup orders are incremental or simply replacing delivery orders?
Design a backup storage layer where data, once written, cannot be modified, encrypted or deleted before its retention expires, even by an attacker holding admin credentials or root on a single node.
Design the feature that lets a driver cash out their available earnings to a debit card up to several times a day, with the money arriving within minutes and never being paid twice.
A cleaning robot starts at a given cell of a grid and must reach the dock cell, moving up, down, left, or right, visiting every open cell exactly once and never entering walls. Count the distinct routes.
A conveyor's packages are modelled as a singly linked list whose length is unknown. Return the middle node in a single pass (the second middle when the length is even).
Design the backend that keeps a user's chat conversations, including in-progress streamed replies, edits and branches, consistent across the web app, desktop app and mobile apps in near real time.
Design the system that lets a shipper see where each of its rail cars or intermodal containers is right now, its predicted arrival time, and get notified about delays, using events from trackside readers, locomotive GPS, and yard systems.
Assign active WhatsApp users to quartiles by messages sent in the last 28 days using NTILE, then report each quartile's message range, average call minutes, and the share of users who made at least one call.
Design the caching layers that keep eBay item detail pages fast under heavy traffic while showing correct price, quantity available and auction state, including when a popular item sells out in seconds.
Design how prospective and active drivers upload photos of their license, insurance, and vehicle registration, how those images are processed and reviewed, and how the system blocks drivers whose documents expire.
Given a time-ordered stream of payment instructions, return the IDs of instructions that repeat the same debit account, beneficiary, amount and currency within a configurable number of seconds of the previous identical one.
Given a list of process creation events from one endpoint, each with a unique process ID, a parent ID and an image name, return the ancestry chain of a target process from the oldest known ancestor down to the target. Stop cleanly when a parent is missing or the data contains a cycle.
In a blind listening test, raters compared songs from a candidate model and the current model for the same prompts and preferred the candidate in 312 of 550 non-tie comparisons. Is the candidate meaningfully preferred, and what is a 95% confidence interval for its win rate?
Describe a time a pipeline, report or model you owned produced incorrect results that reached users or leadership. What did you do, and what changed afterward?
A transactions API returns pages as (items, next_token), with next_token None on the last page and some pages possibly empty. Build an iterator that yields transactions one at a time, fetches pages only when needed, skips empty pages, and supports peek().
Design the service that computes the 'Arrives by Thursday' promise shown on product pages and in the cart, taking into account inventory location, fulfillment capacity, carrier schedules, and the customer's address.
A frontend server records the latency of every request and must report p50, p99 and p99.9 every minute without storing all samples; implement a histogram with logarithmic buckets, quantile queries with bounded relative error, and merging across servers.
Design classes so that when an order's status changes (placed, shipped, out for delivery, delivered), any number of subscribers such as email, SMS and the mobile app are notified, and new channels can be added without modifying the Order class.
Describe a time you found a serious reliability or performance risk shortly before a date that could not move, such as a holiday traffic peak or a launch, and explain how you decided what to fix, what to defer and how you de-risked it.
Creator incentive rules are stored as integer arithmetic formulas over named metrics, such as `views / 1000 * 2 + (gifts - refunds)`. Write `evaluate(expr, variables)` supporting + - * /, unary minus, parentheses and integer division that truncates toward zero, raising clear errors for malformed input.
Get the full picture with our company interview guides.
Tell us what you were asked. Get 1 AI interview credit for each approved report.