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
Build a model that predicts the probability a passive limit order will be filled within 500 milliseconds given order book state and the order's queue position. Fills are rare and many orders are cancelled before the horizon. How do you handle imbalance, censoring, and calibration?
Design an LLM feature in Gmail that drafts or rewrites an email from a short instruction, using the thread context, with strong privacy and safety guarantees.
Given n, return how many structurally unique binary search trees can store the IDs 1 through n.
The card team wants to replace a five-screen card activation flow in the banking mobile app with a one-tap flow; design the A/B test, choose the metrics, size the sample, and explain how you would read a result where activation rises but first-month spend does not.
Tell me about a time you shipped or owned a bug that hurt customers in a high-stakes area. Walk through how you found out, what you did in the first hours, and what changed afterward.
Given one inventory status snapshot per ASIN, fulfillment center and day, collapse consecutive days with the same status into periods with a start date, end date and length, and list out-of-stock periods of three days or more.
Tell me about a time a production system you owned broke during peak traffic. What did you do in the first hour, how did you communicate, and what changed afterward?
LinkedIn's feed model is trained on clicks and reactions, but items at the top get more engagement simply because they are seen first. Explain how position bias affects training and how you would correct it.
A single elevator starts idle at floor 0 at time 0 and moves one floor per second. Requests (time, floor) arrive over time; the elevator keeps moving in its current direction while any pending stop lies ahead, reverses when none do, and idles when nothing is pending. Return the time each request is served.
Uploaded videos can be converted between formats via available transcoding steps, each with a compute cost. Given the steps, a source format, a target format and a limit K on the number of steps (to bound latency and quality loss), return the minimum total cost or -1 if impossible.
An inventory grid has stock counts sorted ascending along each row and down each column. Return whether a target count appears in the grid, in O(m + n) time.
Design the system that records what Airbnb owes each host and releases payouts after check-in, across many currencies and payout methods (bank transfer, PayPal, prepaid cards). It must never pay twice, never lose money, and be auditable to the cent.
Tell me about a time you had to tell a demanding internal stakeholder, such as a trader or portfolio manager, that something they needed would be late or would not be built as requested. How did you handle it?
Given per-minute concurrent viewer counts for a live stream and a window size k, return the maximum count within every contiguous window of k minutes, in order.
Users who make Messenger video calls retain 40% better than those who do not. Without running an experiment, estimate how much of that gap is causal and explain the assumptions behind your estimate.
Across Facebook feed ads, click-through rate dropped 12% over a quarter while ad impressions grew 20% and revenue grew 8%. Diagnose what is going on and whether advertisers are worse off.
Given a shoe's ordered size chart (including half sizes) and a map from size to units in stock, return the first and last size of the longest contiguous run of sizes that are all in stock. Return None if nothing is in stock.
Instagram tests a new parental supervision dashboard that links a parent and teen account. Explain why user-level randomization causes problems and how you would choose and implement a household-level unit.
Customers sometimes submit the same job several times. Group requests that share customer, category and zip, fall within 24 hours of the group's first request, and have questionnaire answers with Jaccard similarity of at least 0.6.
An answer cites a list of [start, end) character spans in a document whose text is the concatenation of its pages. Given the page start offsets, merge overlapping or touching spans and return highlight ranges as (page, start, end) with page-relative offsets, splitting any span that crosses a page break.
Get the full picture with our company interview guides.
Tell us what you were asked. Get 1 AI interview credit for each approved report.