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
Several campaigns share sending numbers, and each number can send a fixed number of messages per second. Higher-priority campaigns preempt lower ones and leftover capacity in a second flows to the next campaign. Return the second in which each campaign sends its last message, efficiently even when campaigns have millions of recipients.
Design the machine learning system that scores card transactions for fraud during authorisation for a retail bank's debit and credit cards, including features, labels, model choice, serving, monitoring and how decisions are made from scores.
Tell me about a time you found a security or data protection weakness in a system owned by another team, and how you got them to fix it.
You are training a model whose output becomes the delivery time shown to customers before they order. Explain why plain mean squared error is the wrong objective and what you would use instead.
Design upload, transcoding, storage and playback for creator videos that only patrons at or above a given tier may watch, on web and mobile, while making casual link sharing and scraping hard.
Design the service that fetches external images embedded in emails on behalf of Gmail users, caches them, and serves them from Google's domain so senders cannot see users' IP addresses and malicious images are filtered.
Design the backend that takes an online personal loan application, gathers credit bureau, identity, income and fraud data, scores the applicant, and returns an approve, counteroffer or decline decision with pricing and adverse action reasons within a few seconds, with a full audit trail.
Design the system that measures compute usage for every running virtual warehouse at per-second granularity, converts it to credits, enforces resource monitor limits, and produces auditable daily and monthly invoices for each account.
Explain how you would model the probability that a learner recalls a word as $p = 2^{-\Delta/h}$ with a learned half-life $h = 2^{\theta \cdot x}$, what features x you would use, how you would train it from practice logs, and how you would evaluate it against a simple Leitner-box baseline.
From a daily snapshot table of each user's bytes used and quota, return the first date each user went over quota and how many separate times they crossed it.
Given n routers labeled 0 to n-1 and a list of undirected links, return True if the links form a single tree: every router connected and no cycles.
After saving an order, the service publishes an OrderPlaced event, but crashes between the two steps produce orders with no event or events for orders that rolled back. Implement the transactional outbox so the event is committed with the order and relayed later at least once, with idempotent consumers.
A researcher shows a backtest with an annualized Sharpe ratio of 1.5 over two years of daily data, chosen as the best of 50 variants tried. Is this statistically significant, and how much history would you need to believe it?
Given general ledger lines as (entry_id, account, side, amount) where side is D or C, return every journal entry whose debits do not equal its credits, with the size of the imbalance.
You will graph-cluster Instagram's follow graph to randomize a Stories sharing feature. Explain how the number and size of clusters trade off bias against variance, and how you would pick a clustering.
Describe how you would lead, or have led, an engineering team through a large customer migration with an immovable go-live date, where scope, quality and team health all came under pressure. Cover planning, the hardest trade-off you made and how you kept stakeholders aligned.
Implement an asset cache with a byte budget that supports get, put(key, size), pin and unpin: put evicts least recently used unpinned assets until the new asset fits, and refuses the insert without evicting anything if pinned assets make it impossible.
Write a Python function that runs a Benford's law first-digit test on a population of payment amounts and, grouped by vendor, ranks vendors by how far their leading-digit distribution departs from Benford's expected frequencies.
As a manager or tech lead, tell me about a time you prepared someone to take over your role before you moved on. How did you make sure the team did not lose momentum?
Design and implement the endpoint that returns a customer's past orders newest first, with a status filter and pagination that never skips or repeats orders when new orders arrive between page loads.
Get the full picture with our company interview guides.
Tell us what you were asked. Get 1 AI interview credit for each approved report.