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
Given a list of item prices and a gift card balance, choose three distinct items whose combined price is as close as possible to the balance and return that combined price.
A promotion gives a badge for each of five spending categories the first time a cardholder buys in it. If each purchase falls in one of the five categories uniformly at random, what is the expected number of purchases to collect all five badges, and what changes if categories are not equally likely?
A retail customer wants proof that Cresta's new next-best-offer suggestions increase sales conversion on inbound calls. Design the experiment, choose the unit of randomization, and explain how you would analyze the result.
Given playback intervals per user from multiple devices that can overlap, compute each user's distinct minutes watched and number of viewing sessions, where a new session starts after more than five idle minutes.
Given a list of IPv4 prefixes that may overlap or be adjacent, return the smallest list of CIDR prefixes that covers exactly the same set of addresses, as a router would do for BGP route summarization.
Design the classes for a component that computes a filer's deductions, choosing between the standard deduction and itemized deductions with per-item caps, so that next year's rule and limit changes require configuration rather than rewriting code.
Gifts arrive one by one during a LIVE stream, each with a coin value. After each gift, report the median value of all gifts so far, so the creator dashboard can show a robust typical gift size.
TikTok's ad creative tool offers stock clips in a set of fixed durations (in seconds), each available unlimited times. Given a target ad length, return the minimum number of clips whose durations sum exactly to the target, or -1 if impossible.
From Google Cloud billing line items, compute each service's net revenue per day and its percentage of that day's total, in a single pass over the data.
Weekly visitors to Horizon Worlds on Meta Quest dropped 14% the week a headset software update shipped, which also redesigned the home screen. How do you find out whether the update caused it?
An institutional buyer wants a bundle of whole loans whose principals sum exactly to a target. Given a list of principals that may contain duplicates, return every unique combination (each loan used at most once) that hits the target.
A grid represents creator communities: 0 is empty, 1 is a creator who has not used a sound, and 2 is a creator already using it. Each hour, every creator using the sound influences adjacent (up, down, left, right) creators. Return the hours until no new creator can adopt it, and whether any creator is never reached.
Given TASER firing events (device, officer, timestamp) and each officer's body camera recording segments, return the firings where the officer's camera did not record continuously from 30 seconds before to 30 seconds after the firing.
Tell me about a time a metric you were measured on pointed one way, but you believed the right thing for users pointed the other. What did you do?
A Feed ranking test may increase how often users see borderline content that does not violate policy but is close to it. Design how the experiment measures this integrity risk alongside engagement.
Break a unit stick at two points chosen independently and uniformly along its length. What is the probability the three pieces can form a triangle, and how does the answer change if you break once, then break the longer piece?
Given taxable income and a progressive bracket table of (upper bound, rate) pairs, compute the total tax owed and the marginal rate that applies to the last dollar of income.
Many users ask the assistant nearly identical questions, and each LLM call is expensive. Design a semantic cache that serves a stored answer when a new question means the same thing, without returning wrong or stale answers.
A seller fraud model's overall recall held steady after retraining, but complaints say new sellers in one marketplace are being missed. Explain how to design a sliced evaluation that would have caught this, and what you would do about it.
Design the pipeline that ingests product, price and availability feeds from hundreds of grocery retailers, normalizes them into one catalog, and serves fresh data to search and the storefront.
Get the full picture with our company interview guides.
Tell us what you were asked. Get 1 AI interview credit for each approved report.