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
Given jobs with name, arrival time, duration and priority (lower number is more urgent) and a fixed number of GPUs, simulate non-preemptive scheduling where any free GPU takes the most urgent waiting job, and return job names in completion order.
Given a source file as a string, return the longest substring that occurs at least twice (occurrences may overlap), or an empty string if no character repeats.
You estimate a covariance matrix for 500 stocks from 250 days of returns and feed it to a mean-variance optimizer. Explain what goes wrong and how shrinkage or a factor structure fixes it.
Tell me about a time you and a more senior engineer disagreed in a code review and neither wanted to back down. How did it get resolved?
A CI system logs build numbers in the order they finished, and you want the longest subsequence whose values increase by exactly d from one element to the next. Return its length.
A DoorDash restaurant receives on average 6 orders per hour during lunch, arriving independently. What is the probability it gets no orders in a 30-minute window, and the probability it gets at least 5?
Design message search for an end-to-end encrypted messaging app like WhatsApp or Messenger, where the server cannot read messages, so search must work over history stored on the user's devices.
A new Waymo software build logged 3 safety disengagements in 20,000 test miles. Using a Gamma prior from earlier builds, give a posterior for the disengagement rate, the probability it is below 0.3 per 1,000 miles, and the chance the next 10,000 miles have none.
Design an integration platform that lets third-party vendors (credit bureaus, lenders, marketing tools, OEM systems) read and write dealership data through public APIs and receive webhooks, with per-dealer consent, scoped permissions, rate limiting and reliable event delivery.
Tell me about a time you led or proposed a migration, such as moving a service to a new storage system, that took far longer than planned. What did you miss in the original plan and how did you get it back on track?
Your default model is trained on historical approved loans, because declined applicants never received loans and have no repayment outcome. Explain the bias this creates, how it affects expanding approvals into new segments, and the methods you would use to address it.
A visual similarity model emits pairs of Pin images it believes are near-duplicates. Treating matches as transitive, return how many distinct image clusters exist and the size of the largest one.
Clinicians audited 400 randomly sampled generated notes and found 6 with a clinically significant error. Give a 95% confidence interval for the error rate, explain which interval you trust, and compute how many notes you would need to audit to get a margin of plus or minus 0.5 percentage points.
Tell me about a technical choice you made that turned out to be the wrong one. How did you recognize it and what did you do?
Given latency measurements from network probes and an integer k, return the k-th smallest absolute difference among all pairs of distinct measurements.
CVS wants to test a new text reminder that lets members reply to refill a maintenance prescription, versus the current reminder. Design the experiment: unit of randomization, primary and guardrail metrics, sample size, and duration.
A sidewalk delivery robot moves on a city grid following a string of moves N, S, E, W, one block each. Return the index of the first move after which the robot stands on an intersection it has already visited, or -1 if it never does.
Design an ML-backed system that decides in under 300 ms whether to allow, limit, or step-up verify a user's request to instantly fund their account from an external debit card, balancing fraud losses from stolen cards against friction for good users.
Design the backend that stores mail for Yahoo Mail's user base and lets each user search their own mailbox by sender, subject, body text, and date within a second. Cover ingestion, storage layout, indexing, and how old mail is kept cheaply.
Implement the receive side of a reliable byte stream: segments arrive with a byte offset, possibly out of order, duplicated, or overlapping. Deliver bytes to the application strictly in order, respect a receive window, and return the cumulative acknowledgment after each segment.
Get the full picture with our company interview guides.
Tell us what you were asked. Get 1 AI interview credit for each approved report.