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
Two distinct people share a device fingerprint with probability 1 in 100,000, and a person's own second account matches with probability 0.9. Compute the probability a match means the same owner when the match came from searching all 2 billion accounts, versus when the candidate was already linked by a shared payment card with a 30% prior.
Card statements show raw descriptors like 'SQ *STARBUKCS'. Implement optimal string alignment distance (insert, delete, substitute, swap adjacent characters) and use it to map a descriptor to the closest known merchant name, returning None when nothing is close enough.
Implement a list endpoint for fine-tuning jobs that returns newest first in pages, using an opaque cursor so pages stay correct when new jobs are created between requests. Explain why offset pagination is the wrong choice here.
Items wait in a fixed loading order, labeled by type letter. Split the sequence into as many consecutive truckloads as possible so that every item type appears in exactly one truckload, and return the sizes of the truckloads.
You will see n candidates for a role in random order, can rank each against those seen so far, and must accept or reject on the spot. Which strategy maximizes the probability of picking the single best candidate, and what is that probability for large n?
A Chrome team checks its experiment dashboard every morning and wants to ship as soon as the result is significant. Explain the problem with this and design a monitoring approach that allows early stopping safely.
Tell me about a time an experiment looked positive on the main metrics but you believed it was bad for users. What did you do?
In a Search experiment randomized by user, the metric is CTR defined as total clicks divided by total impressions. Explain why the naive binomial standard error is wrong and derive the delta-method interval.
A daily pipeline sessionizes WhatsApp app events one date partition at a time. Write the step that takes the previous day's still-open sessions plus today's events, emits sessions that are final, and carries forward sessions that could still continue past midnight.
You have N alpha streams, each with annualized Sharpe s and pairwise return correlation rho, and you combine them with equal risk weights. Derive the combined Sharpe ratio, evaluate it for N = 100, s = 0.5, rho = 0.1, and explain what happens as N grows.
Tell me about a time you needed external partners or customers to change their behavior to make your product work, and how you got them to do it.
Each ad creative is built from a list of components, where a component is either a raw asset or another creative. Given the creatives with their component lists and the set of raw assets in stock, return every creative that can be fully assembled.
A champion had a 54% win rate in ranked and was nerfed. Next patch its win rate is 51% but its pick rate halved. Explain how you would decide whether the nerf worked and what data you would look at.
Tell me about a time you took over or turned around a program spanning several teams that was repeatedly missing milestones.
Build a structure that ingests card transactions (timestamp, merchant, amount) in time order and answers 'top k merchants by spend in the last W seconds' at any moment.
Given a sequence of telemetry event types from one user session, find the longest contiguous stretch in which no event type appears twice, returning its length and starting index.
Describe a time you shipped a change where a mistake would have cost users money or trust, such as billing, pricing or payouts. How did you de-risk it, and what happened?
A Google Shopping cart lists the quantity needed of each item, the single-unit price of each item, and several bundle offers that give fixed quantities of items for a fixed price. Find the minimum cost to buy exactly the needed quantities, never exceeding any need.
A short spoken query has been tokenized into a singly linked list of characters. Decide whether it is a palindrome using O(1) extra space, and leave the list as you found it.
A 1,000-node GPU cluster sees each node fail independently with probability 0.002 per day, and a failed node takes 5 days to repair; how many hot spares keep the customer's contracted node count available 99% of the time, and how likely is a 128-node job to be interrupted on a given day?
Get the full picture with our company interview guides.
Tell us what you were asked. Get 1 AI interview credit for each approved report.