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
Chrome users are 90% Stable, 8% Beta and 2% Dev, with daily crash probabilities of 0.1%, 1% and 3%. Given that a user crashed today, find the probability they are on Beta, and explain the intuition.
A coverage grid marks cells with 1 where Uber has active driver supply. Count every square sub-grid (of any size) made entirely of 1s, which the ops team uses to measure how many square service zones could be launched.
A square floor map of an Amazon fulfillment center is stored as an n x n matrix. Rotate it 90 degrees clockwise in place, without allocating a second matrix.
Given an account opening-balance table and a posted transactions table, write SQL that returns every account's closing balance for every calendar day in a date range, including days with no activity.
Describe a conflict with another team over a shared, scarce resource such as compute, headcount, or infrastructure. How did you resolve it?
A batch of n story uploads should have IDs 0 through n, but exactly one is missing from the shuffled list of n IDs. Return the missing ID without sorting and with O(1) extra space.
As a product manager, tell me about a time your team's resources were cut significantly mid-year. How did you decide which product bets to keep?
Many hosts list the same home on several platforms and keep availability in sync through iCal URLs. Design the system that imports external calendars, exports Airbnb reservations as feeds, and minimizes the window where a double booking can happen.
Design an ML system that recommends the next command or a relevant feature to a user inside a desktop CAD application, based on their recent command sequence and context, to help them discover faster workflows without being annoying.
Design classes for a vending machine that accepts coins, dispenses a selected item with change, supports cancel with refund, and rejects invalid actions depending on its current state.
Given a tokenized document and a list of query terms (with possible repeats), return the start and end token indices of the shortest contiguous passage that contains every term at least as many times as it appears in the query.
Explain how a two-tower model retrieves candidates for Reels or friend suggestions, how in-batch negatives work, and what bias they introduce and how to correct it.
Tell me about a time you were given an ambiguous goal with no clear spec or owner, how you defined the problem, and how you got it delivered.
Design and implement an in-memory LRU cache of computed feature values where each read passes the maximum staleness it will accept, so the same cached value can satisfy a lenient caller and be rejected for a strict one.
An advertiser books exclusive takeover placements as (start, end, revenue) with half-open [start, end) times. Pick a set of non-overlapping bookings that maximizes total revenue and return that revenue.
Given a list of records and an ordered list of sort rules (field plus ascending or descending), return the records sorted the way a grid view would show them. Empty cells must always sort to the bottom regardless of direction, and ties must keep the original order.
Given diarized speech segments (speaker, start, end) from a call, possibly overlapping and unsorted, return total talk time per speaker and the total seconds where the agent and customer spoke at the same time.
Each experiment arm is encoded as a 32-bit feature flag mask. Return the sum of Hamming distances over all pairs of masks in the list, faster than comparing every pair.
Given matches, participants and bans tables for League of Legends ranked games, write a query returning each champion's games, win rate, pick rate and ban rate per patch, excluding remakes and champions below a minimum game count.
Two test teams independently bash the same Windows feature build. Team A files 60 distinct bugs, Team B files 40, and 20 bugs were found by both. Estimate the total number of bugs in the build, how many remain unfound, and give an uncertainty range.
Get the full picture with our company interview guides.
Tell us what you were asked. Get 1 AI interview credit for each approved report.