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 content delivery path for a 100 GB Xbox game that millions of players pre-load and then download at the same moment on launch day, keeping origin load and download times low.
Two background workers process transfers between business accounts and sometimes update the same balance at the same time, causing lost updates and occasional deadlocks. Explain the race and implement a transfer function that is correct under concurrency and cannot deadlock.
Bills must be paid in a fixed order. Each day you send whole bills in order as long as that day's total stays within a daily limit. Given each bill's amount and due day, find the smallest limit that pays every bill on or before its due day.
Design a system that, for every autonomy stack commit, schedules tens of thousands of simulation scenarios across mixed CPU and GPU pools, returns pass or fail results to CI quickly, and handles retries, priorities and flaky scenarios.
Design an ML system that uses readings from wayside hot bearing detectors, acoustic bearing detectors, and wheel impact load detectors to predict which rail cars are likely to have a bearing or wheel failure soon, so they can be set out for repair before a derailment.
Given two version strings such as "10.0.19045" and "10.0.19045.0", return -1, 0 or 1 depending on whether the first is lower, equal or higher, comparing numeric components left to right and treating missing components as zero.
Design the system that takes a customer's crypto withdrawal request through risk checks, approval, signing and broadcast, keeps most funds in cold storage, refills the hot wallet safely, and guarantees a withdrawal is never sent twice.
Tell me about a time you taught your team a new engineering practice and got them to keep using it. How did you drive adoption beyond the first try?
Given a string of digits and a target integer, return every expression formed by inserting `+`, `-`, or `*` between digits (or nothing, to join digits into a multi-digit number) that evaluates to the target. Operands may not have leading zeros.
Design the backend that answers, for a set of attendees and a date range, when each person is busy, so Outlook's Scheduling Assistant can suggest meeting times in well under a second, including attendees in other organizations.
Design a structure for the review moderation queue that supports insert(id), remove(id) and get_random(), each in average O(1) time, where get_random returns each present review ID with equal probability.
Stories posts per daily active user on Instagram dropped 8% week over week while DAU was flat. Walk through how you would find the cause and decide whether it needs action.
A store sells a limited-quantity item through DoorDash, and many customers check out at the same moment. Explain the race that causes overselling and implement an atomic, all-or-nothing reservation of every cart line against an inventory table.
An enterprise customer wants continuous scoring of its production AI agent: sample real traffic, grade each trace against expert-written pass/fail criteria using LLM judges, route uncertain cases to human experts, and report quality trends and regressions. Design this system end to end.
From Alexa skill invocation logs, compute for every skill and every day in October the daily active users, the trailing 30-day active users, and their ratio.
An experiment assignment service only has access to a random bit that is 1 with some unknown probability p. How can you produce an exactly fair 50/50 treatment assignment, and how many bits does it consume on average?
Implement a read-write lock for an in-memory Photos library index where many threads read concurrently but writers that are waiting must not be starved by a stream of new readers.
Each purchase earns floor(amount * rate / 10000) points capped at a per-purchase limit, where rate is in basis points. Given purchases and a total points budget, find the largest integer rate whose total payout stays within budget.
When a user searches their own Gmail, results are sorted by date today. Design a relevance-ranked 'top results' section that finds the email the user is looking for faster.
A model forecasts next week's CPU demand per Google Cloud zone so that capacity can be provisioned with a target of running out less than 5 percent of the time. Explain why point accuracy metrics are the wrong yardstick and how to evaluate the model's quantile forecasts.
Get the full picture with our company interview guides.
Tell us what you were asked. Get 1 AI interview credit for each approved report.