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
You roll a fair die and are paid its face value, but you may reroll, keeping only the final roll. What is the expected payoff under optimal play with one reroll allowed, and with two?
Design the system that, every hour, syncs data from each customer's connected integrations (AWS, GitHub, Okta, HRIS, MDM) and evaluates over a thousand compliance tests against it, storing results as audit evidence and notifying owners when a test starts failing.
At checkout, show the customer the nearest Amazon Lockers and Counter pickup locations within a few miles of their address, filtered by package size and current capacity.
Design the service that stores tariff versions (fixed, variable, time-of-use, dual fuel), prices each customer's consumption into bills, and reprices variable tariffs correctly when the regulated price cap changes each quarter.
Describe a time you needed another team or external partner to change their plans, design or priorities to make your project succeed, when you had no authority over them.
Given a table of device heartbeats (device_id, ts) that may contain duplicates, write SQL that groups each device's heartbeats into online sessions, starting a new session whenever the gap since the previous heartbeat exceeds 10 minutes.
Facebook lets people run fundraisers for nonprofits and personal causes. Define the success metrics for the Fundraisers product and pick one primary metric.
Using daily impressions and clicks per ad creative, compute impression-weighted CTR by days since each creative first delivered (day 0 to day 30), and for each creative the ratio of its days 8 to 14 CTR to its days 0 to 6 CTR.
Design a collaborative whiteboard inside Google Meet where dozens of participants draw strokes, add sticky notes and shapes, and move objects concurrently with low latency, with the board saved for later editing.
Story upload timestamps are stored in a binary search tree. Given a target time (which may be fractional), return the stored timestamp closest to it, preferring the smaller value on a tie.
Design the system that fingerprints the audio of every uploaded Reel, matches it against a catalog of licensed and rights-managed music, and applies the rights holder's policy (allow, mute, block, or restrict by region) before or soon after publishing.
Given a sorted array A of length m+n whose last n slots are empty and a sorted array B of length n, merge B into A so that A is fully sorted, using no extra array.
Given a raw stream of (user, timestamp, query, click) events from Google Search, build session-level features such as query reformulation rate and time to first click that a satisfaction model can use. Explain how you define sessions and implement the sessionization step.
Delivery drivers stand in a line with ratings r[i]. Each driver gets at least one bonus credit, and any driver rated higher than an adjacent driver must get more credits than that neighbor. Return the minimum total credits.
Using a table of ride requests with request time, vehicle arrival time and status, report for each hour of day the completed pickup count, p50 and p90 wait in minutes, and the rider cancellation rate.
You receive up to n sequential offers, each uniform on [0, 1] and independent. After each offer you must accept it (and stop) or reject it forever. Find the optimal strategy and expected payoff for n = 3, and describe how the value grows with n.
Describe a time you raised a safety or quality concern that delayed a launch, release or test that others were eager to move forward with, and how you handled it.
A deep ranking model trains normally for several hours, then the loss becomes NaN and never recovers. Walk through how you would find the cause and prevent it.
Roblox raised the Developer Exchange cash-out rate for all eligible creators on one date, with no holdout group. Estimate the causal effect on creator output, such as updates shipped and new experiences published.
Implement the filter parameter of a list method: parse expressions like 'size > 100 AND (type = "pdf" OR starred)' into an AST and evaluate them against resource dicts, with AND binding tighter than OR and NOT supported.
Get the full picture with our company interview guides.
Tell us what you were asked. Get 1 AI interview credit for each approved report.