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
TurboTax is building a model that flags returns likely to contain an error, so they can be routed to an expert review before filing. Only about 3% of returns have a material error. Which evaluation metrics would you use and how would you pick the flagging threshold?
A model predicts hourly inbound package volume at an Amazon fulfillment center. Explain how you would encode hour of day and day of week, and implement a cyclical encoding that keeps 11 pm close to midnight.
When Facebook accounts are flagged, a human reviewer is assigned essentially at random from a queue, and reviewers differ in how often they restrict accounts. Use this to estimate whether restricting an account reduces its future policy violations.
An API gateway registers route patterns like `/v1/trips/*/receipt` where `*` matches exactly one path segment. Given registered routes and a request path, return the matching route, preferring exact segments over wildcards at the earliest differing position, or None.
A redesigned Following tab shows a 9% lift in Following tab sessions in week one and 3% in week two. Explain how you would determine the true long-run effect.
Given a list of trade prices in time order and a limit L, return the length of the longest contiguous window whose maximum price minus minimum price is at most L.
Design the service that, given a customer's address, returns every store that can deliver there, respecting each store's custom delivery area. It powers the home feed, search and checkout.
Design the ML system that suggests an expense or income category for every transaction imported from a small business's bank feed, personalizing to each company's chart of accounts and learning from user corrections.
Design the ML system that screens user prompts and model responses in a consumer Copilot chat for harmful content, jailbreak attempts and indirect prompt injection from retrieved web pages, without adding noticeable latency to streaming replies.
Design the system that lets viewers of a Facebook Live broadcast post comments and see other viewers' comments in near real time, including broadcasts with over a million concurrent viewers.
The ego vehicle and each nearby agent move with constant velocity in 2D. For each agent, compute the earliest time within a planning horizon at which its distance to the ego drops to a given safety radius, and return conflicting agents sorted by that time.
Design Group Orders: a host creates a cart, shares a link, and several people add items from their own phones at the same time, see each other's changes live, and the host checks out once before a deadline.
Design the system that keeps each advertiser's daily spend close to their budget across a global ad-serving fleet, and bills clicks accurately with invalid-click filtering.
Tell me about a time a legal, policy, or privacy partner had serious concerns about your launch, and how you earned their support without simply overriding or ignoring them.
Design a points ledger where points arrive in lots, each with an expiry day, and redemptions must be all or nothing and consume points from the lots that expire soonest. Support earn, redeem (returning which lots were drawn from) and the available balance on a given day.
From Meet join and leave events, compute for each Workspace domain and day the peak number of participants connected at the same moment and when that peak first occurred.
Design how BigQuery divides a customer's purchased compute slots among projects and concurrent queries so that one huge query cannot starve everyone else, while idle capacity is still borrowed by whoever needs it.
Two non-negative integers are given as decimal strings that may be too long for any native integer type. Return their sum as a string without converting either input to an integer directly.
Design the backup and restore system for a managed relational database service that lets a customer restore any database to any second within the last 35 days, including after the database was deleted.
Customers wait in a single line at an Amazon Fresh pickup counter, and customer i needs items[i] items. Each second the front customer receives one item, then leaves if done or goes to the back of the line otherwise. Return the number of seconds until customer k has all items.
Get the full picture with our company interview guides.
Tell us what you were asked. Get 1 AI interview credit for each approved report.