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
Tell me about a time you received critical feedback that was hard to hear. How did you respond and what changed?
Describe a time you handed off important work to a less experienced teammate even though you could have done it faster. Why, and how did you support them?
Comments per daily user in Facebook Groups are down 10% compared with the same month last year, with no single day of sharp change. How would you diagnose a slow decline like this?
Given pairs of synonymous words (synonymy is transitive) and a caption, return every caption that can be formed by replacing each word with any of its synonyms, sorted lexicographically.
In a network of N members where each pair is connected independently with probability p, find the expected number of mutual connections between two given members and the chance they have at least one. Then explain what real LinkedIn mutual counts imply about this model.
Tell me about a time a senior leader gave you a broad, poorly defined goal, such as reduce early delinquency, with no clear plan. How did you turn it into something actionable?
Design the system that counts video views on YouTube, showing a near-real-time count on the watch page while filtering out bot and repeat views before counts are used for monetization.
Orders are stored in regional shards, and each shard exposes an iterator of (timestamp, order_id) in ascending time. Build an iterator that yields all orders across shards in global time order, pulling lazily so no shard is loaded fully into memory.
Tell me about a time you were handed a loosely defined request from an external partner or customer and had to figure out what to build. How did you turn ambiguity into a plan?
Given a binary tree with unique values and many queries, each query names a non-root node. For each query independently, return the height of the tree (in edges) if that node's entire subtree were removed.
Implement an in-memory order book for one trading pair that accepts buy and sell limit orders, matches them against resting orders by best price then arrival time, and supports cancels. Each placement returns the trades it produced.
Design the service that tracks each Google account's storage usage across Gmail, Drive, and Photos against one shared quota (including Google One family plans) and blocks uploads once the limit is reached.
Power meters in Meta data centers report readings (region, ts, kw) irregularly and sometimes drop out. Resample each region to hourly means, linearly interpolate gaps of at most 3 hours, leave longer gaps as missing, and report hours of missing data per region.
Implement a snapshot tree supporting create_vdisk, write(vdisk, block, data), read(vdisk, block), snapshot(vdisk), clone(snapshot) and delete_snapshot(snapshot), where snapshots are read-only, reads fall through to ancestors, and deleting a snapshot must preserve what every descendant reads.
Design the metrics, tracing and alerting system that measures time to first token, tokens per second and queueing delay for every model and customer tier, and helps engineers find why latency regressed.
Given a table of contact lifecycle stage changes (contact_id, stage, entered_at), compute for each monthly cohort of new leads how many reached MQL, SQL and customer within 90 days of becoming a lead, along with the conversion rates.
An experiment in a small set of DoorDash markets is underpowered: the confidence interval on orders per user is too wide to make a call. Explain how CUPED works and implement it.
Hosts upload dozens of high-resolution photos when creating a listing, often from phones on weak connections. Design the system that ingests these uploads, produces resized and optimized variants, runs quality and safety checks, and serves photos fast to guests worldwide.
Given a list of accounts, each with a set of identifiers such as card fingerprints, shipping addresses, and device ids, group together all accounts that are connected directly or transitively through any shared identifier.
Design a class that holds a chat conversation and, before each model call, selects which messages to send so the total stays under the context limit minus a reply reserve. The system prompt, pinned messages, and the latest user message must always be included, and the most recent history should be kept first.
Get the full picture with our company interview guides.
Tell us what you were asked. Get 1 AI interview credit for each approved report.