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 ML approach for answering customer questions on a product detail page ('Does this fit a 2019 Honda Civic?') with an LLM, so that answers are grounded in the listing, reviews and Q&A and do not hallucinate.
Show that ridge and lasso regression are maximum a posteriori estimates under Gaussian and Laplace priors on the weights, and explain how the prior view helps you choose regularization strength for a Google Shopping price model.
A lab client suspects that some tasks in a coding benchmark you built appear in their model's pretraining data. Describe how you would measure contamination, decide which tasks to retire, and keep future benchmark releases clean.
Meta clients sometimes log the same event from both the web and the app pipeline. Given several streams of (timestamp, event_id, payload) each sorted by timestamp, write Python that yields one merged, time-ordered stream with each event_id kept once.
Given a sequence of events where 1 means a like and 0 means an unlike on a post, return the length of the longest contiguous stretch containing equal numbers of likes and unlikes.
Capital One wants to test pre-filling the card payment screen with the statement balance instead of leaving the amount blank. Design the experiment, choose metrics that capture the whole distribution of payments, and address the risk of harming customers who cannot afford the suggested amount.
Edge nodes sit in a line; node i can forward an update to any node up to reach[i] positions ahead. Return the minimum number of hops for an update starting at node 0 to reach the last node, or -1 if it cannot.
Exchanges cap how many messages a market maker may send per second. Design and implement a throttler that uses a token bucket, coalesces pending quote updates per instrument so only the latest is sent, always sends cancels first, and otherwise prioritizes the instruments whose resting quote is furthest from the new price.
Derive the gradient of the softmax cross-entropy loss with respect to the logits, implement it in NumPy for a batch, and verify it numerically.
Given a list of feed posts labeled by creator ID, reorder them so no two consecutive posts come from the same creator, or return an empty list if that is impossible.
Tell me about a time a code reviewer blocked a change you believed was correct. How did you work through the disagreement and what happened to the change?
Tell me about someone more junior you helped grow, how you adjusted your approach to them, and how you knew it was working.
Given the components of a new GPU cluster (power, cooling, switches, BMCs, OS images, Kubernetes) and dependency pairs saying which must be healthy before another starts, return the waves of components that can be brought up in parallel, or report a cycle.
Given an undirected road graph with travel times, count how many distinct routes from intersection 0 to intersection n-1 take the minimum possible time. Return the count modulo 10^9 + 7.
Design the service that creates several thumbnail sizes for every photo and video uploaded to Google Photos and serves them quickly in the grid view on phones and the web.
Tell me about a time you noticed a recurring problem that fell between teams and nobody owned. What did you do?
Design a model that removes ads irrelevant to the query before they enter the Bing Ads auction, so that users do not see an ad for car insurance when searching for a cat food brand.
Tell me about a time a senior leader gave you a broad, ambiguous goal and you had to turn it into a concrete plan your team could deliver.
Write a step-by-step simulator for an LLM server that admits requests FCFS into a running batch whenever KV memory and batch slots allow, emits one token per running request per step, and returns each request's completion step.
Design the pipeline that accepts photos and videos attached to Amazon customer reviews, processes them for display, and screens them for policy violations (nudity, personal information, off-topic or promotional content) before they appear publicly.
Get the full picture with our company interview guides.
Tell us what you were asked. Get 1 AI interview credit for each approved report.