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
Design the aggregation layer that turns per-request latency measurements from thousands of hosts into p50, p99, and p99.9 per service, endpoint, and region, queryable over minutes to months.
Implement a parser for search queries like `assignee:me AND (tag:urgent OR NOT completed:true)` and return the tasks that match. Support AND, OR, NOT, parentheses, quoted values and implicit AND between adjacent terms.
Given accounts and transactions tables, list every active savings account whose most recent customer-initiated transaction is more than 365 days old or that has never had one, ignoring system postings such as interest credits and charges.
Design the system that scans customers' transactions and balances to generate personalized proactive alerts, such as a duplicate charge, a subscription price increase or a likely low balance, and delivers them in the app without spamming users.
Tell me about a time you had to learn an unfamiliar system quickly because something was broken. How did you learn it so fast?
Recruiters type queries like '(java OR kotlin) AND NOT intern'. Given such a query string with AND, OR, NOT, parentheses, and keyword terms, plus a set of keywords on a profile, return whether the profile matches. NOT binds tightest, then AND, then OR.
Given guest profiles from different Disney systems, each with an id and a list of identifiers such as emails and phone numbers, group together all profiles that share an identifier directly or through a chain, and return the groups sorted.
Uber launched an in-app feature that lets riders share a PIN-verified trip with trusted contacts, enabled for all riders on one day. Estimate its effect on safety incident reports.
Describe a time you had to deliver a change in an unfamiliar, poorly documented codebase on a short timeline, and how you got up to speed.
Design the service that streams order book updates, trades and candles for hundreds of trading pairs to hundreds of thousands of WebSocket clients, from retail apps to latency-sensitive market makers, with consistent snapshots and gap recovery.
From 10,000 sampled Messenger send latencies you want a 95% confidence interval for the true 99th percentile without assuming any distribution. Show how to pick order statistics that bracket the p99 and why this works.
Facebook wants Feed ranking to favor posts that spark real conversation between people rather than passive consumption. Define a Meaningful Social Interactions (MSI) metric that ranking teams can optimize and experiments can read.
Implement the client logic for a product search box that waits until the user pauses typing, cancels in-flight requests when the query changes, never shows results for an older query after a newer one, and caches recent queries.
DoorDash Drive lets other businesses request deliveries through an API. Design the system that enforces per-partner request quotas and delivery-creation limits so one large partner cannot starve others or overload dispatch during a lunch spike.
Given a set of candidate code submissions for the same question, normalize each one, compute winnowed k-gram fingerprints, and return all pairs whose fingerprint Jaccard similarity is at or above a threshold, robust to renamed variables and reformatting.
Tell me about a time you built or changed something because you anticipated what users would need, before they asked.
A WhatsApp payments promotion can only be randomized by country, and 12 similar countries are available. Six get the promotion. Explain why standard t-tests are risky and how to compute a valid p-value.
Tell me about a piece of critical feedback you received that was hard to hear, and what you changed as a result.
A stricter relevance filter in Facebook Marketplace search raised click-through rate by 16% but total listing clicks fell 7%. Explain how this happens and how you would evaluate the change.
Given a list of GPU reservations, each with a start time, end time and GPU count on half-open intervals, return the peak number of GPUs reserved at once and the earliest time that peak occurs.
Get the full picture with our company interview guides.
Tell us what you were asked. Get 1 AI interview credit for each approved report.