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 a list of internal transfers (from_account, to_account, amount) accumulated over a day between marketplace accounts, find the minimum number of transfers needed to settle every account's net balance to zero.
Write a function that returns whether a string is a valid decimal number for an import pipeline: optional surrounding spaces, optional sign, digits with at most one decimal point and at least one digit, and an optional exponent (e or E, optional sign, at least one digit).
Design the feature platform that maintains per-sender, per-recipient and per-pair behavioral history (first contact date, message counts, typical send hours, prior replies) for thousands of tenants, serving it online in milliseconds during scoring and reproducing exact historical values for training.
Design the system that moves footage from body cameras placed in station docks to cloud evidence storage, so every file arrives intact, exactly once, with metadata, even over constrained station uplinks.
iPhone users spend 25% more time on Instagram per day than Android users. A PM suggests investing heavily in Android parity because the Android experience must be worse. What would you check before agreeing?
From a deliveries table with rider, assignment and delivery timestamps, compute each rider's average idle minutes per day between finishing one delivery and being assigned the next, excluding long breaks and handling batched orders.
Given a set of responses with sizes and the times the server finishes producing them, compute when each completes on one HTTP/1.1 connection (in request order) and on one HTTP/2 connection (multiplexed frames), and explain where HTTP/3 helps further.
Given k sorted lists of event timestamps, one per data center region, find the smallest inclusive range [a, b] that contains at least one timestamp from every region, breaking ties by the smaller start.
Tell me about a time you organized people who did not report to you to fix a shared problem that hurt everyone's productivity.
Given an unordered log of (conversation_id, timestamp, actor) events where actor is user, ai or human, return the first response time for each conversation (time from the first user message to the first non-user message after it) and the median across conversations.
Implement an LFU cache with a fixed capacity supporting get(key) and put(key, value) in O(1) average time; on eviction remove the least frequently used key, breaking ties by least recently used.
Given a time-ordered stream of card payments (timestamp, card fingerprint, merchant id), flag each payment where that card has paid more than k distinct merchants within the trailing window of T seconds.
Describe a time you had to change, deprecate or migrate a feature, API or file format that existing users depended on, and how you handled their concerns while still moving the product forward.
Completed campaign creations in Meta Ads Manager dropped 30% week over week, mostly among small advertisers. As the product manager, how would you approach it?
Design a system that ingests access audit events from on-premises Windows file servers and NAS appliances plus cloud drives, learns each user's normal behavior, and raises prioritized alerts with automatic remediation when activity on sensitive data looks risky.
A team proposes giving each daily refund a random 6-character alphanumeric reference code shown to users. With about one million refunds a day, estimate the chance of at least one collision and the code length needed to keep it under one in a million per day.
Given users, nested group memberships (which may contain cycles) and allow/deny policies with glob patterns on actions and resources, decide whether a user can perform an action on a resource, with explicit deny winning, and explain the decision by the membership chain that granted or blocked it.
A rack has n machines and a list of cables, each joining two machines. You may unplug any cable and replug it between any two machines. Return the minimum number of moves to make every machine reachable from every other, or -1 if it is impossible.
An unattended robot posts invoices to an ERP from an Orchestrator queue, and a crash or timeout can cause the same queue item to be processed twice. Explain idempotency for this case and implement a small processor that guarantees one side effect per transaction reference even when retried.
A parent order is split into child slices that must be executed in the given order across at most D trading days, each day taking a contiguous run of slices; find the smallest daily share cap that makes this possible.
Get the full picture with our company interview guides.
Tell us what you were asked. Get 1 AI interview credit for each approved report.