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
For creators who started a Meta Verified subscription, compute by signup month the share whose first paid charge succeeded and the share who renewed for a second paid month without canceling, using subscription and billing event tables.
Implement a streaming structure that receives mid prices one at a time and, once k prices have arrived, returns the median of the last k on every update in O(log k) amortized time.
In a numeric Excel range, any cell equal to 0 marks a failed validation, and its entire row and column must be cleared to 0. Do this in place using O(1) extra memory.
Design the pipeline that turns Google Maps' world geodata (roads, buildings, labels, terrain) into vector tiles at every zoom level and serves them to mobile and web clients with low latency, including fast updates when a road changes.
Design the system that lets OneMain customers make one-time and autopay loan payments by debit card or ACH, posts them to the servicing ledger, and handles later ACH returns and card disputes, without ever double charging a customer or losing a payment.
A stick of length 1 is cut at two points chosen independently and uniformly at random. What is the probability that the three pieces can form a triangle? Then answer the variant where you break the stick once, then break the longer piece at a uniform point.
For every order in 2026, return the order total, the customer's total 2026 spend, the order's percentage share of that spend, and the order's rank by size within the customer's year.
Given a sorted list of product prices and a sorted list of shipping prices, return the k pairs (one product, one shipping option) with the smallest combined cost, in increasing order of total.
A Google Shopping retrieval model scores user-item pairs with the dot product of a user tower and an item tower. Explain the expressiveness limits of this design, when they hurt, and how the full pipeline compensates.
A CVS distribution center receives a lot where each bottle is independently mislabeled with probability 1%. If quality control inspects 20 bottles, what is the probability of catching at least one mislabeled bottle, and how many must be inspected to have a 95% chance?
Given `subscriptions(user_id, channel_id, tier, period_month)` with one row per user, channel and paid month, write SQL that returns, for each month and tier, the number of subscriptions and the share that renewed to the same channel the following month.
Given a long scan log string and a short SKU code, return every starting index in the log where some rearrangement of the SKU code's characters appears as a contiguous substring.
Mobile clients retry the 'join tier' request on flaky networks, sometimes causing duplicate charges. Implement an idempotency layer for the charge endpoint that replays the original result for a repeated key, rejects a reused key with a different body, and handles in-flight duplicates.
Given positive upload sizes in arrival order and a threshold T, return the length of the shortest contiguous burst whose total size is at least T, or 0 if no burst reaches it.
Describe a time you led a team where a business deadline pressured you to cut a control, test step or compliance requirement. What did you do, and how did you keep the relationship with the business intact?
Your bid rests at the best price with 4 shares queued ahead of you; marketable sell orders of 1 share each arrive as a Poisson process at 3 per second and nothing cancels. What is the probability your 1-share order fills within 2 seconds, and what is the expected wait?
Average WhatsApp voice call duration fell 6% the week a new Android build rolled out, while the number of calls stayed flat. How would you determine whether the release caused it?
Instagram tests a notification telling users when a close friend posts for the first time in a while. Should you randomize the friend who posts (sender) or the user who gets notified (receiver)? Design the test and explain what each choice measures.
Design a GenAI assistant for support engineers who serve many enterprise clients. It answers incident questions using each client's runbooks, past tickets and architecture docs, cites sources, and must never leak one client's content to another.
Write a function that, given a European call price, spot, strike, time to expiry and rate, returns the Black-Scholes implied volatility robustly, rejecting prices outside no-arbitrage bounds and never diverging on deep in- or out-of-the-money options.
Get the full picture with our company interview guides.
Tell us what you were asked. Get 1 AI interview credit for each approved report.