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
A log pipeline stripped the dots from client IPv4 addresses, leaving only a digit string. Return every valid dotted address the string could have come from, where each of the four parts is 0 to 255 with no leading zeros.
Explain why a linear click model for Instagram ads benefits from crossing user age bucket with ad category, how you would build the crosses, and how a deep model learns these interactions instead.
Given n storage nodes and a sequence of replication links being created between pairs of nodes, return the number of connected clusters after each link is added.
Given a list of intercompany payments between entities in a single currency, return the minimum number of transfers needed so every entity's net balance becomes zero.
Write a function that scans a free-text log line, finds every 13 to 19 digit sequence (optionally grouped by spaces or dashes) that passes the Luhn checksum, and replaces all but its last four digits with asterisks while leaving other numbers untouched.
Design the system that picks the title Prime Video autoplays when a viewer finishes an episode or movie. It should maximize satisfying watch time across devices without trapping viewers in repetitive or low-quality loops.
Capital One lets card customers choose their own payment due date and wants to promote the option in the app. Before the test starts, write the decision rule: primary metric, guardrails, and what results mean ship, iterate, or stop.
A Nest thermostat stores recent temperature readings in a sorted circular singly linked list, and you are given a pointer to an arbitrary node. Insert a new reading so the ring stays sorted, and return a node of the ring.
Amazon shows short AI-generated summaries of what customers say about a product. Explain how you would evaluate summary quality before launch and monitor it after.
In a cluster-randomized Facebook experiment, given an undirected friendship edge list, user arm assignments and a per-user outcome, compute each user's fraction of friends in treatment, bucket control users by that exposure, and report mean outcome per exposure bucket to look for spillover.
Describe a time you transferred ownership of a system or feature you built to another team. How did you make sure they could run it successfully?
Midway through a multi-week pretraining run on TPUs, the loss periodically spikes and sometimes fails to recover; lay out how you would diagnose the cause and what mitigations you would apply without restarting from scratch.
Describe a time two groups disagreed on how a key metric should be defined, and how you drove alignment on one definition.
Tell me about a time you had several urgent, competing requests at once, such as a bug, a stakeholder ask, and a deadline, during a high-stakes launch. How did you decide what to do first and what to defer?
Promo message templates use the syntax k[text] to repeat text k times, and repeats can nest, for example `2[ride3[!]]`. Given a valid template, return the fully expanded string.
During RLHF, the policy's score from the learned reward model keeps rising, but human raters say responses are getting worse: longer, more flattering, and sometimes evasive. Explain why this happens, how you would detect it early, and what you would change in training.
Drivers who wait longer in airport staging lots seem more likely to stop driving for Uber. Estimate whether long airport waits cause churn, without running an experiment.
Given an undirected tree of n nodes, return every node that, when chosen as the root, produces a tree of minimum height.
Design the protection layer that detects and limits bots scraping amazon.com product and offer pages at high rates, while keeping real shoppers, search engine crawlers and accessibility tools unaffected.
You roll a fair six-sided die and are paid the face value in dollars, but after each roll you may discard it and roll again, up to two rerolls in total. What is the optimal strategy and the game's fair value, and what changes if each reroll costs $0.50?
Get the full picture with our company interview guides.
Tell us what you were asked. Get 1 AI interview credit for each approved report.