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 map from cell names to contents, where a cell is either an integer or a formula summing other cells and constants (like "=A1+B2+3"), compute every cell's value and mark cells that are in or depend on a circular reference as an error.
Model resharing of a Threads post as a branching process where each share independently triggers a Poisson number of further shares with mean m. Find the probability the cascade dies out as a function of m, the expected cascade size when m is below 1, and what this says about virality.
Using pandas, join card statements (statement date, due date, minimum due) to payments and flag each statement where the total paid after the statement date and on or before the due date was less than the minimum due, with the shortfall amount.
Design a Snake game on a width by height board: the snake starts at (0, 0) with length 1, food appears at given positions one after another, and move(direction) returns the score or -1 when the snake hits a wall or itself. Eating food grows the snake by one.
Inception's code model can rewrite a region of a file given the surrounding context and recent edits. As PM, decide whether to launch a dedicated next-edit API endpoint for IDE and coding-agent partners instead of having them use the general chat endpoint, and define how you would measure success.
Each application in a review queue is independently flagged with probability 0.1. On average, how many applications are reviewed until two flags appear back to back, and how does that compare with waiting for a flag followed by a clean application?
Describe a time you noticed a privacy or user-trust risk in something your team was about to launch. What did you do, and what happened to the launch?
Using tables of listings, sales and events, compute for each event category the share of listed tickets that actually sold, for events that took place in the last 90 days.
Design how Uber stores the raw GPS pings from every trip and turns them into a road-snapped route used for fare distance, receipts, disputes, and map quality improvements.
Explain why TPU training uses bfloat16, what must stay in float32, and demonstrate with a small example why keeping the weights themselves in bfloat16 silently stops learning.
Given building elements from different disciplines (structural, mechanical, architectural), each with a 3D axis-aligned bounding box, report every pair from different disciplines whose boxes overlap by more than a tolerance on all three axes.
Using a daily activity table, count weekly active WhatsApp users for each ISO week, broken down by platform (Android, iOS, Web) and also as an overall total. A user active on two platforms in a week counts once in the total.
Write is_number(s) that decides whether a string is a valid decimal number: optional sign, digits with an optional decimal point, and an optional exponent part with its own sign, surrounded by optional whitespace.
From a daily activity table, compute for each month the number of new, retained, resurrected and churned users, and verify that new plus retained plus resurrected equals monthly active users.
Compute how much accelerator memory the key-value cache needs when serving a decoder model at a given batch size and context length, and explain how multi-query and grouped-query attention change that number and model quality.
Training a large Instagram recommendation model with user and item ID embeddings, validation loss is best after the first epoch and gets sharply worse in the second. Explain this one-epoch phenomenon and how you would address it.
Mixpanel adds an AI assistant that turns a plain-English question into a report (for example 'which signup sources retain best?'). As the PM, define how you would measure whether it is succeeding and what would make you roll it back.
Facebook Marketplace is launching alerts that notify buyers when a new listing matches a saved search. Pick the primary success metric for the launch experiment and justify why other candidates are worse.
Given 5-minute telemetry per volume (bytes written and inline data reduction ratio), use pandas to flag incidents where the recent reduction ratio drops below half of its trailing baseline while write volume jumps at least threefold, and return one row per contiguous incident.
Implement a bounded blocking queue with put(item, timeout) and get(timeout) that is safe for many producer and consumer threads: put blocks while the queue is full, get blocks while it is empty, and both give up after the timeout.
Get the full picture with our company interview guides.
Tell us what you were asked. Get 1 AI interview credit for each approved report.