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 FAT style file system stores each file as a linked chain of clusters, and a corrupted table can make the chain loop. Given the head cluster, return the cluster where the loop begins, or None if the chain terminates normally, using O(1) extra memory.
You own the Amazon returns experience and have capacity for one major project this year: box-free returns at more drop-off points, instant refunds for more customers, or better pre-purchase fit and compatibility info to prevent returns. Which do you choose?
Tell me about a time you disagreed with a designer about how a customer-facing feature should work, and how you reached a decision.
Describe a time you took a process or feature that was powerful but confusing and made it usable for people without technical backgrounds. What did you change, how did you know it worked, and what did you give up?
Projects link to many tasks through a linked-record field. Given the links and the task records, compute a rollup (SUM, COUNT, MAX or AVG) of a numeric task field for every project, skipping blank values and links to deleted tasks.
From raw usage events with org_id, timestamp, and input and output token counts, compute each org's daily tokens, a rolling 7-day total, and flag days where usage exceeds three times the average of the prior seven days, with days of no usage counted as zero.
DoorDash is growing grocery and convenience delivery alongside restaurants. Propose a north star metric for the grocery business and the supporting metrics you would put on its dashboard.
Scenarios in a seeded replay chain must run in a fixed order, each day processes a contiguous block, and a day's total GPU-minutes cannot exceed its capacity. Return the smallest integer daily capacity that finishes all scenarios within D days.
Tell me about a time something you built produced a wrong result that reached a customer. How did you find out, what did you do in the first day, and what changed afterward?
Implement a thread-safe stock holder for a single flash-sale SKU that lets each user reserve at most one unit, holds the unit for a payment window, returns expired holds to stock, and never sells more units than exist.
Given sorted snapshot timestamps, the current time, and SLA rules such as keep one per hour for a day and one per day for a week, return which snapshots to keep.
Tell me about a time a customer was hurting from a problem that was not technically your team's responsibility, and what you did.
Given projected Gaussian splats as (id, center_x, center_y, radius, depth) and a screen of width by height pixels split into square tiles, return for every touched tile the splat ids sorted front to back, skipping splats behind the camera or fully off screen.
Mobile clients on flaky networks retry POST /reservations when a response times out, which can create duplicate reservations or double charges. Design the API contract and server logic for idempotency keys, and implement the core store.
A sequence of loans must be allocated in order to at most k funding partners, each partner taking one contiguous block. Return the smallest possible value of the largest total principal any single partner receives.
Design a managed service where API developers upload files into vector stores, and assistants retrieve relevant chunks at query time with metadata filters and low latency.
Checkout events arrive one at a time with the number of items in each basket. Support adding a basket size and returning the median of all sizes seen so far, each in logarithmic time or better.
Given unordered door sensor events (timestamp, door_id, 'open' or 'close'), return every opening that lasted longer than a threshold, plus any door still open at the end of the log.
Customers pick a return reason from a dropdown, and audits show about 25 percent of those reasons are wrong (for example "defective" chosen to avoid return shipping fees). Explain how to train a classifier on these labels without overfitting the noise.
Given a time-ordered stream of new listings (time, listing id, price) for one section of an event, flag each listing whose price is below a ratio times the median price of listings created in the preceding window, when at least a minimum number of peers exist.
Get the full picture with our company interview guides.
Tell us what you were asked. Get 1 AI interview credit for each approved report.