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 product names with popularity scores, build a structure that returns the three most popular products starting with a typed prefix, breaking ties alphabetically. Also return the suggestion lists for each character as the shopper types a query.
Given an internal ledger of outbound USDC transfers and a table of decoded on-chain Transfer logs, produce one row per transaction classified as matched, amount_mismatch, missing_onchain or unexpected_onchain, with the signed difference.
Given up to tens of thousands of axis-aligned rectangles representing rooms, slabs, or zones in a floor plan, compute the total area they cover, counting overlapping regions only once.
Design classes for shop-specific and platform-wide coupons (fixed amount or percentage with a cap and minimum spend) and a cart method that applies the best allowed combination: at most one coupon per shop plus one platform coupon.
Design a service that lets customers watch products (from wish lists or a 'notify me' button) and notifies them when the price falls below a threshold or by a meaningful percentage.
Given a deliveries table with hub, promised time, delivered time and status, compute each hub's trailing 7-day on-time delivery rate per day and flag days where it fell more than 5 points below the prior 7-day window.
Given half-hourly prices, a per-slot site import cap, and a set of EVs each with an arrival slot, departure slot, energy needed and maximum charge rate, find the minimum-cost charging schedule that meets every EV's demand, or report that none exists.
Tell me about a time you disagreed with a partner team located in another office or time zone. How did you communicate and resolve it?
Apple Music wants to test a new onboarding flow for free-trial users that asks for favorite artists earlier. Design the experiment, including the primary metric, randomization unit, sample size, and duration.
You have several candidate homepage widgets (deals, recently viewed, new releases) and want to learn which earns the most clicks while still serving traffic well. Explain and implement a Thompson sampling approach.
Given an internal trade booking extract and a counterparty confirmation file, produce one row per trade reference labeled as matched, missing on either side, or broken on amount, value date or currency, with the amount difference.
Apple Maps plans an electric vehicle trip of target miles. The car starts with start_range miles of charge, and chargers are listed as (mile_marker, miles_added), sorted by position, with unlimited battery capacity. Return the minimum number of charging stops to reach the destination, or -1 if impossible.
Amazon wants to test a change to how the Buy Box winner is chosen among sellers offering the same product. Explain why a customer-level A/B test may give a biased answer and design a better experiment.
Google Calendar was built around office meetings. How would you make it valuable for hourly shift workers such as nurses, retail staff and warehouse employees?
A message template contains letters plus '(' and ')'. Remove the minimum number of parentheses so the remaining string is balanced, and return any one valid result.
Tell me about a time a project you led succeeded because of contributions from other teams, and how you made sure those people were recognized.
Given a 2D grid of terrain heights, return how much rain water the terrain can hold after a storm, where water drains off the grid edges.
Design search across SharePoint, OneDrive, Outlook and Teams for a large enterprise tenant so that every result a user sees is one they are allowed to open, with results updated soon after permissions change.
A decision model returns a probability with each choice, and cases below a confidence threshold go to a human reviewer. Show how to measure calibration (ECE and reliability curves) and pick the threshold that meets a 90% accuracy target on auto-handled cases while maximizing coverage.
Implement a bounded FIFO queue used between order-intake threads and fulfillment workers: put() blocks when the queue is full, take() blocks when it is empty, both support an optional timeout, and close() wakes all waiters so the system can shut down cleanly.
Get the full picture with our company interview guides.
Tell us what you were asked. Get 1 AI interview credit for each approved report.