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 pipeline and storage that let advertisers slice impressions, clicks, spend and conversions for their campaigns by day, creative, domain, device and geo, with data no more than a few minutes old.
For each customer, identify the order at which cumulative lifetime spend first reached at least $500, and how many days after their first order that happened.
Saturday and Sunday orders in one large DoorDash city fell 10% versus the previous weekend while weekdays were flat. How would you investigate?
Two tools edit the same seller listing: one lowers the price while another changes quantity, and the second save silently erases the first. Add ETag-based optimistic concurrency to the REST resource, plus conditional GETs for caching.
LinkedIn lets job seekers add an "Open to Work" frame to their profile photo. Define the primary success metric, supporting metrics, and guardrails you would use to judge whether the feature is working.
Google Fi is a US mobile service built on partner networks. Choose a first international market for a local Fi service and outline the go-to-market plan.
You are the PM for Pincode, PhonePe's hyperlocal shopping app on ONDC. First-order volume is healthy but few users place a second order within 30 days. How would you diagnose the problem and what would you build first?
Comments arrive as a stream of user ids. Support add(uid) and first_unique(), which returns the earliest-arriving user who has commented exactly once so far, or None.
A transaction feed receives repeated records for the same transaction as it moves from pending to posted or is reversed. Return one row per transaction with its latest version, excluding transactions whose latest status is reversed.
Given an ad headline string s and a list of index pairs (i, j) whose characters may be swapped any number of times, return the lexicographically smallest string you can produce.
Given a license key string with letters, digits, and dashes in arbitrary places, and a group size k, reformat it so every group has exactly k uppercase characters except the first, which may be shorter but not empty, with groups joined by single dashes.
Build A had 120 crashes in 400,000 app sessions and build B had 165 crashes in 420,000 sessions. Test whether B has a higher crash rate, give a confidence interval for the rate ratio, and explain what could make this test misleading.
A Python ranking sidecar keeps 20 million small video metadata objects (id, views, duration) in memory and uses far more RAM than expected; explain why and show two ways to shrink it.
Design an inventory ledger where checkout places a temporary hold on units, holds expire if the order is not placed in time, and placing the order converts the hold into a real decrement, so available stock never goes negative.
Given tables of loan applications and branches, write SQL that reports, for the last full quarter, each branch's application count, approval rate and funded amount, and ranks branches by approval rate within their state while excluding branches with fewer than 50 applications.
Design a multi-tenant cloud service where life sciences companies store controlled documents, route them through configurable review and approval lifecycles with electronic signatures, and produce a tamper-evident audit trail suitable for 21 CFR Part 11 inspections.
Given a height grid where the top and left edges border the western ocean and the bottom and right edges border the eastern ocean, return all cells from which water can flow to both oceans, moving to neighbors of equal or lower height.
Given a table of webhook events your service received (with duplicate deliveries and out-of-order arrival), write SQL that returns one row per payment intent with its latest status according to when Stripe created the event, not when you received it.
Given a file-share tree where each node either inherits its parent's effective ACL or sets an explicit ACL that replaces it, return every non-root node whose explicit ACL grants principals that its parent's effective ACL did not, along with those added principals.
Given a time-ordered stream of card transactions (id, card, merchant, amount in minor units, timestamp in seconds), return the ids of transactions that repeat the same card, merchant and amount within 60 seconds of the previous matching charge.
Get the full picture with our company interview guides.
Tell us what you were asked. Get 1 AI interview credit for each approved report.