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 new Nuro Driver release logged 120,000 driverless miles with zero safety-critical events. Give a 95% upper confidence bound on its event rate, explain how many miles would be needed to show the rate is below 1 per 100,000 miles, and how the answer changes if one event had occurred.
Suno rolls out a new default model to half of users. Generations per user rise 15% while the share of songs that are downloaded or shared drops slightly. How would you design and read this experiment to decide whether the new model is better?
Given exchange rates between currencies and crypto assets, with fees already netted into each rate, find the maximum amount of a target currency obtainable from an amount of a source currency using at most k conversions.
Design the search ranking system that orders products when a user types a query in Douyin's shopping search, balancing relevance, purchase likelihood, and merchant fairness.
You trade one unit of spot compute capacity at known daily prices, hold at most one unit at a time, and may complete at most k buy-sell trades. Return the maximum profit.
Zara gives each candidate a pass or fail and a human recruiter independently reviews the same recording; given a 2x2 table of their decisions, compute and interpret Cohen's kappa and explain why raw percent agreement is not enough.
A CI history is a list of 1 (passed) and 0 (failed). If you may retry and fix at most k failed builds, return the length of the longest contiguous run that would then be all green.
Given an R x C grid of street elevation heights, rain fills low areas until water would spill off the grid edge. Return the total volume of water trapped, which a routing team uses to flag streets likely to flood during storms.
Implement a waitlist supporting join(party_id, size), leave(party_id), and seat(table_size), where seat removes and returns the party that joined earliest among those whose size fits the table, or None.
Build A of the autonomy software completed 17 of 20 flight test missions and build B completed 27 of 28. A program manager asks whether B is better and whether it is ready to replace A. How do you answer?
When a popular product's price expires from cache, hundreds of request threads miss at once and stampede the pricing service. Implement a single-flight helper so only one thread loads a key while the others wait for its result or its error.
Design the infrastructure that runs coding agents against thousands of real repository tasks, letting each agent edit files and run commands in an isolated environment and returning a test-based reward. It should support both large offline benchmark runs and online RL rollouts for lab clients.
A product manager says an Uber Eats experiment with p = 0.04 means there is a 96% chance the feature works. Explain what the p-value actually means and what you would tell them instead.
Replit wants to move Agent billing from a flat price per checkpoint to pricing based on the actual compute effort of each request. Design an experiment to decide whether to launch it, and say which metrics would change your decision.
A parser crashes on a 50 KB HTML document from a crawl. Given a black-box function that reports whether an input still triggers the crash, write an algorithm that reduces the input to a small failing case in which removing any single element makes the crash disappear.
Tell me about a time you needed people outside your own team to contribute time to an initiative, and how you got them involved and kept them engaged.
Given a sorted array of ranking score deltas that may include negatives, return a sorted array of their squares in O(n) time.
Products are indexed in a binary search tree keyed by price. Given the root and a price key, delete the node with that key if present and return the new root, keeping the tree a valid BST.
A shopper must buy a set of required items and may add items from a wishlist; a coupon takes D off any order totalling at least T. Return the minimum amount they pay and which wishlist items to add, adding filler only when it makes the order cheaper.
You are testing a new shared-poll feature in Messenger group chats. Explain why user-level randomization is biased and design an experiment that gives a trustworthy estimate.
Get the full picture with our company interview guides.
Tell us what you were asked. Get 1 AI interview credit for each approved report.