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
As a manager, how have you made the case for paying down technical debt when product partners wanted every sprint spent on features?
Design a store where merchants set item prices over time with set_price(item, cents, ts), and support price_at(item, ts) returning the price that was in effect at any past timestamp.
Each tour request lists acceptable time slots and required agent skills (for example Spanish speaking or affordable housing certified); each agent has available slots and a skill set and can give one tour per slot. Assign the maximum number of requests to (agent, slot) pairs.
Threads wants to know if posts lead to real back-and-forth discussion. Define a conversation depth metric and explain how you would keep it from rewarding heated pile-ons.
Design search for a hosted email service like Zoho Mail: users search their own mailbox by keyword, sender, date, folder and attachment, results must reflect new mail within seconds, and the system holds billions of messages across millions of mailboxes.
Given a list of directed transfers between accounts, return every account that lies on at least one directed cycle (including an account that sends to itself), as a first-pass anti-money-laundering signal.
API traffic is recorded as time-sorted samples `(second, request_count)`, with missing seconds meaning zero requests. For every sample, return the maximum count seen in the window of the last `k` seconds ending at that sample.
Design a system that reads new bond prospectuses and offering memoranda and extracts structured terms such as coupon, maturity, call schedule and covenants into the security master, with humans reviewing low-confidence fields.
The growth team wants a single activation metric for new users that predicts whether they become long-term active. Propose a definition and how you would validate it.
Design the service that receives authorization requests from merchant acquirers and partner issuers, decides approve or decline within a strict latency budget, and keeps working through regional or component failures. Cover routing, the decision pipeline, data stores and how the service degrades.
Given an n by n matrix of pixel values, rotate it 90 degrees clockwise in place without allocating another matrix.
Design the ML system that builds a viewer's homepage: which rows (genres, trending, continue watching, new arrivals) appear, in what order, and which titles fill each row, optimizing for long-term viewing on an ad-supported service.
Implement a coupon engine that takes a cart and a list of coupon codes (flat or percent, with minimum cart value, optional category restriction, optional cap, and a stackable flag) and returns the best achievable discount and which coupons produce it, where non-stackable coupons apply alone and stackable ones combine.
Tell me about a time you made the wrong call on an A/B test result and it was later reversed. What went wrong and what did you change in how you work?
Design the service that validates and redeems DoorDash promo codes such as '20% off your first 3 orders, up to 10,000 total redemptions', enforcing per-user limits and a global budget even under heavy concurrent use.
Given an incident's start time, an SLA duration in business minutes, a weekly schedule of working windows per weekday, and a set of holiday dates, return the exact datetime when the SLA breaches. Time outside working windows and on holidays does not count toward the SLA.
A service keeps per-ASIN price history as lists of small Python objects and runs out of memory. Explain where the bytes go and reduce the footprint by an order of magnitude without changing the API callers use.
Implement a structure over logged search queries that supports insert, erase of one occurrence, counting exact matches, and counting how many stored queries start with a given prefix.
Given an `inspections` table of `(inspection_id, part_serial, work_center, inspected_at, result)`, compute for each work center and week the share of parts that passed on their first inspection at that work center.
Design an ML system for an AIOps platform that learns the normal runtime of thousands of nightly batch jobs per enterprise, predicts which jobs will overrun before they finish, and alerts operators early enough to protect business deadlines such as end-of-day settlement.
Get the full picture with our company interview guides.
Tell us what you were asked. Get 1 AI interview credit for each approved report.