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
An Instagram Direct feature increases messages sent on Instagram by 6 percent. Users also use Messenger, and their Messenger messages fall. How do you measure the net effect across Meta's family of apps?
A retrieval-augmented LLM assistant answers cardholder questions about fees, rewards and dispute rules from Capital One policy documents. Design an evaluation that measures hallucination and answer quality before launch and keeps measuring it in production.
Design a platform that takes recorded drive logs from the fleet, replays them through a candidate autonomy software build (resimulation), scores the results against safety and comfort metrics, and gates releases, at a scale of hundreds of thousands of scenarios per build.
Build a structure that keeps a view's visible records filtered and sorted as records are inserted, edited and deleted. Each update must return the minimal change for clients (insert at index, remove at index, or move from one index to another) without re-sorting the whole view.
Livestream chat lets buyers type bids such as "!bid 25", "$25.50", or just "30". Given (user, message) pairs, extract valid bids as integer cents and ignore every message that is not a well-formed positive bid.
A store offers grocery pickup slots, each with fixed capacity. Implement book(requested_time), which reserves the earliest slot starting at or after the requested time that still has room, and cancel(slot), which releases one reservation.
Design a cron service like Cloud Scheduler that runs millions of user-defined schedules ("every 5 minutes", "daily at 02:00 America/New_York") reliably, firing each job once per scheduled time even when machines fail.
ETA errors on a sample of trips are right-skewed with a few huge values. How would you build a confidence interval for the mean error, and when would a bootstrap beat the normal approximation?
Given sns_deliveries (subscription_id, customer_id, scheduled_date, outcome) where outcome is SHIPPED or SKIPPED for each scheduled Subscribe and Save delivery, return every run of two or more consecutive skipped deliveries per subscription with its start, end and length.
Given a string from a security group rule, return `IPv4`, `IPv6`, or `Neither`. IPv4 needs four decimal octets 0 to 255 with no leading zeros; IPv6 needs eight groups of 1 to 4 hex digits separated by colons (no `::` shorthand).
A venue numbers its listed contracts 1 through N, and you observe four distinct serial numbers at random: 19, 40, 42, and 60. Estimate N, explain why the maximum alone is biased, and give an unbiased estimator.
Implement a small train reservation program that books passengers onto lower, middle and upper berths with a preference, falls back to RAC and then a waitlist when berths run out, and on cancellation promotes RAC to a confirmed berth and the first waitlisted passenger to RAC.
A WhatsApp Android change keeps a background connection alive longer to deliver messages faster. Design the experiment so it measures delivery speed and also catches harm to battery life.
Given a binary search tree of item prices and a gift card balance, return True if two different items have prices that sum exactly to the balance. Aim for O(h) extra space.
Google Play wants to show local-currency price comparisons next to paid apps. Design an experiment that captures both user conversion and how developers respond with pricing changes.
Uber offers some drivers Quest bonuses for completing a target number of trips in a week. Drivers who received Quests drove 20% more hours. Explain why this does not prove the incentive worked and how you would estimate the true effect.
Design the ranking system for queries like 'coffee near me' or 'plumber' in Google Maps, which must combine relevance, distance and prominence for each local business.
Given an unsorted list of integers representing day numbers on which a user was active (duplicates possible), return the length of the longest run of consecutive days.
Given a delivery fee function with a base fee, a per-mile charge beyond three miles, a capped surge multiplier, a DashPass-style member waiver above a subtotal threshold and a small-order fee, write a focused unit test suite and fix any ambiguities you find.
Design the system that approves or declines Wise card payments in real time, choosing which currency balance to spend from, auto-converting when needed, and keeping holds, captures, refunds and reversals consistent with the ledger.
Get the full picture with our company interview guides.
Tell us what you were asked. Get 1 AI interview credit for each approved report.