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
For each month in which new credit card accounts were opened, compute how many accounts opened and what share made at least one purchase within 90 days of opening, reporting only cohorts that have fully matured.
Replay a stream of deposit, hold, release and settle events for one account and report, per asset, the total balance, the amount on hold, and the amount available to trade or withdraw. A hold that exceeds the available balance must be rejected.
Meta reports the share of monthly active Facebook accounts that are fake. If prevalence is roughly 3%, how many accounts must reviewers label to estimate it within plus or minus 0.2 percentage points, and how can stratified sampling cut that cost?
Design a component that receives events with (project_id, insert_id, event_time) and accepts each unique event once, discarding retries that repeat an insert_id seen within a bounded event-time window, using bounded memory.
Network OS command lines accept unique prefixes, so 'sh ip int br' means 'show ip interface brief'. Given a nested command tree and a list of typed tokens, return the fully expanded command or an error that says whether a token was ambiguous, invalid, or unexpected.
Map pins sit on integer grid coordinates, at most one per point. A pin can be removed if another remaining pin shares its row or column. Return the maximum number of pins that can be removed.
Design a pipeline that captures every change to orders, deliveries and payments in DoorDash's production databases and lands it in the analytics warehouse within minutes, with correct history for finance and data science.
Each internal training course has a duration and a last day by which it must be finished. Courses are taken one at a time starting on day 0. Return the maximum number of courses you can complete.
Google Search shows a chance of rain for each location and hour. Two forecasting models produce probabilities of rain; explain how log loss and the Brier score evaluate them, compute both on an example, and say which you would use to pick a model.
Tell me about delivering a feature that depended on several teams with different schedules, such as hardware, firmware, and OS software, and how you kept it on track.
Creators have asked the Facebook Reels team for five things: higher bonus payouts, ads in Reels revenue share, subscriptions, a tipping feature, and better analytics on why a reel earned what it did. You can build two this half. Which two and why?
A customer needs API access on a sorted list of days. Given plans of the form `(duration_days, cost_cents)`, each covering `duration_days` consecutive days from purchase, return the minimum total cost to cover every usage day and one purchase schedule that achieves it.
Describe a period when planned project work kept being interrupted by production issues. How did you balance the two, and what did you change?
A customer with millions of card transactions clicks 'Export CSV' and the worker runs out of memory. Rewrite the export to stream rows in pages with bounded memory and keep it safe to open in a spreadsheet.
A redesigned product detail page shows a 3% lift in add-to-cart during the first week, but the lift shrinks each day. Explain how you would tell novelty from a lasting effect.
Design Meta's internal gateway that every product uses to send push notifications to iOS and Android devices, handling invalid tokens, provider throttling, and multiple Meta apps per device.
Design the core ledger service behind a consumer money app that records every movement (card purchases, P2P transfers, direct deposits, savings sweeps) as balanced double-entry postings, serves real-time available balances, and stays correct under retries and partner bank reconciliation.
Design a service that enforces per-customer, per-user, and per-feature limits on LLM token usage and request rates across many model providers, while keeping latency low and giving accurate usage reporting.
A PM argues that a small, easily reversible change to the Facebook profile header should launch at p < 0.2, while a risky ads policy change should need p < 0.01. Evaluate this argument and propose how to set decision thresholds.
Design a system where card members enroll in merchant offers (for example, spend 50 dollars, get 10 dollars back) in the app, qualifying purchases are matched against enrolled offers, and statement credits are issued exactly once. Cover enrollment, matching, limits and fulfillment.
Get the full picture with our company interview guides.
Tell us what you were asked. Get 1 AI interview credit for each approved report.