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 that measures usage of VMs, GPUs, storage, and per-token inference across all regions and turns it into accurate, auditable invoices and near real-time spend dashboards for customers.
Design the system that takes incoming grocery orders, groups compatible ones into batches, and offers each batch to a nearby shopper in real time, at the scale of thousands of stores and hundreds of thousands of shoppers.
A language detector has priors English 60%, Spanish 30%, Portuguese 10%, and word likelihoods for "casa", "tarde", and "obrigado" under each language. Compute the posterior after seeing "casa tarde", then after the message also contains "obrigado", and discuss the naive Bayes assumption.
Two guests click Reserve on the same listing for overlapping nights within milliseconds, and requests land on different app servers. Explain how you guarantee at most one reservation wins, covering in-process locking, database constraints, and transaction isolation, and sketch the core logic in code.
A gradient boosted model that predicts supply-demand imbalance looks great in training but is erratic on normal weeks after being retrained on December data. How do you diagnose and fix the overfitting?
Instagram plans a large navigation redesign. Existing users may dislike any change at first. Explain how testing on new users helps, what it cannot tell you, and how you would combine it with an existing-user test.
Tell me about a time you discovered a bug in a metric right before you were due to deliver a dashboard or report that used it. How did you prioritize correctness versus the deadline?
Remitly must prefund a payout partner's account each morning to cover the day's payouts. Given a distribution for daily demand, the cost of idle capital and the cost of running short, find the balance that minimizes expected cost.
Venture miles are earned in lots that each expire on a date. Given earn events and redemptions per customer, allocate each redemption to the oldest unexpired lots first, output which lots funded each redemption, and report any shortfall.
Tell me about a feature or project you launched that did not achieve its intended impact. How did you find out, what did you learn about why, and what did you do next?
Instagram launched Notes, short text updates shown above the DM inbox. Define the metrics you would use to judge whether Notes is being adopted in a meaningful way three months after launch.
Given n build tasks with durations and prerequisite pairs (a must finish before b starts), with unlimited parallel workers, return the minimum total time to finish all tasks.
Design search for Prime Video so a viewer typing a title, actor or genre sees only titles they can actually watch in their country under current licensing, with correct included-with-Prime versus rent or buy labels.
Tell me about a time you tried to solve a problem on your own for too long when you should have escalated or asked for help earlier. What did the delay cost and how do you decide when to escalate now?
Design the backend for LinkedIn's "Who viewed your profile" feature: record profile views, show members a deduplicated list of recent viewers and a 90-day count, and respect viewer privacy settings.
Given n candidate Google Cloud regions labeled 1 to n and an integer k, return every way to choose k regions for a replica set. Order within a choice does not matter.
A strategy wins or loses the same dollar amount on each trade with a 55% win probability, independently. What is the probability it is net profitable after 100 trades, and how many trades are needed to be 95% confident of being up?
Design a feature that lets users search for spoken words across YouTube videos and within a single video, returning matches that jump to the exact moment the phrase is said.
Given a list of characters representing a burst of reaction events (for example l for like, h for heart), compress it in place so each run becomes the character followed by its count if the count exceeds one, and return the new length.
Design the system that receives borrower payments from ACH, card, lockbox check files and wires, posts them to loans through the servicing waterfall, handles returns and reversals, and produces a ledger that reconciles to the bank every day.
Get the full picture with our company interview guides.
Tell us what you were asked. Get 1 AI interview credit for each approved report.