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
Orders that stay unpaid for a set time must be auto-cancelled. Implement an in-process scheduler that runs callbacks after a delay, supports cancellation when payment arrives, and uses one worker thread that sleeps until the next deadline.
An org chart was a rooted tree with n people, where each edge [manager, report] points from a manager to a direct report. Exactly one extra directed edge was added. Return the edge that can be removed to restore a rooted tree, choosing the one that appears last in the input if several work.
Given direct shareholdings between legal entities as (owner, owned, percent), compute the parent's effective ownership of every entity it reaches, summing over all ownership paths, and detect cross-holding cycles.
Given a shopper's loyalty tier, the order lines, a set of boosted categories that earn double, and a per-order cap, compute FanCash earned in cents, excluding gift cards, shipping and tax and never going negative on over-discounted lines.
Four pages link as follows: A links to B and C, B links to C, C links to A, and D links to C. Find the random surfer's long-run share of time on each page with and without a 0.85 damping factor, and explain why damping is needed.
A fraud model catches 95% of fraudulent card transactions and wrongly flags 1% of legitimate ones, and 0.2% of transactions are fraud. If a transaction is flagged, what is the probability it is fraud, and what does that imply for how Chase should act on alerts?
Design how Instagram serves billions of feed photo requests per day through edge caches, regional caches, and origin storage, including choosing image sizes per device and keeping hit rates high.
You own the automation developer experience and have budget for one major bet next half: self-healing for UI automations that break when target apps change, or 60 new Integration Service API connectors. Decide which to build, how you would decide, and how you would measure success.
Design how the OneDrive sync engine keeps a folder consistent across a user's laptop, desktop and the cloud, detecting changes efficiently and resolving conflicts when the same file is edited offline on two machines.
Tell me about a time you recommended a decision before the analysis was complete because waiting had a real cost. How did you decide the data was good enough?
A redesigned Notifications tab shows a 6% lift in tab visits in week one, falling to 1.5% by week four. Explain how you would determine the true long-run effect and whether to launch.
Design the feature where a user shares their live location with chosen contacts for a period of time, and those contacts see the user's position update on a map, with strong privacy controls and low battery use.
Given a requests table with when each API request arrived and a token_events table with one row per generated output token, compute each request's time to first token and its decode throughput, then report per-model medians for the last day.
Tell me about a time something important had no clear owner and you stepped in. How did you decide it was yours to take, and how did you handle the ambiguity?
The day after a new default model rolled out in ChatGPT, average messages per daily active user fell 8 percent while DAU stayed flat. Walk through how you would figure out whether this is a problem and what caused it.
Design the alerting system for a Google Cloud API that pages on-call engineers based on how fast the service is consuming its error budget, using multi-window burn-rate rules rather than raw error thresholds.
Two independent crawls of a site sample 1,000 and 800 pages respectively, and 200 pages appear in both. Estimate the total number of pages and state the assumptions behind the estimate.
Instagram web events before login carry only a device cookie. Using a login mapping table, attribute pre-login events to the account that later logged in on that device, then compute the landing to signup-form to account-created funnel at the person level.
Given meeting bookings for one Google Calendar room as half-open intervals [start, end), return the minimum number of bookings to cancel so the remaining ones never overlap.
Design the system that ships new firmware to millions of Starlink user terminals worldwide, with staged rollout, health monitoring, automatic halt, and rollback, without bricking dishes or saturating satellite capacity.
Get the full picture with our company interview guides.
Tell us what you were asked. Get 1 AI interview credit for each approved report.