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 a customer deadline forced you to choose between shipping on time and meeting your own quality bar. What did you do, how did you communicate it, and what would you change?
You have a function rand7() that returns a uniform integer from 1 to 7. Implement rand10() returning a uniform integer from 1 to 10 using only rand7(), and analyze the expected number of rand7 calls.
Capital One removed overdraft fees for all 360 checking customers on the same date, so there is no randomized control. Estimate the effect of the change on checking account attrition and direct deposit adoption using only internal data.
Build a completer that records how often each function name is used and, given a typed prefix, returns the top k matching names by usage count, breaking ties alphabetically.
You trained a new People You May Know model that predicts invitation acceptance. Choose the offline evaluation metrics and protocol you would use before an online test, and explain why AUC alone is not enough.
An Azure datacenter floor is a grid where some cells hold racks that cables cannot cross. Count the distinct cable routes from the top-left cell to the bottom-right cell that only move right or down.
Given a ledger_entries table (account_id, currency, amount_minor, posted_at, status), produce one row per account, currency and calendar day from the first activity onward with that day's net movement and closing balance, including days with no activity.
Build a cohort table for Threads where each row is a signup week and columns give the share of that cohort active in week 0 through week 8 after signup, leaving cells blank for weeks that have not happened yet.
Some people create a second Facebook account after losing access to the first, and an account_links table maps each secondary account to a canonical person. Recompute Day-7 retention per signup week at the person level and compare it with the account-level numbers.
Given a reference to one node in a connected service dependency graph where each node holds a name and a list of neighbor nodes (cycles allowed), return a deep copy of the whole graph.
A jar holds 100 coins, one of which has heads on both sides. You draw a coin at random, flip it five times, and see five heads. What is the probability you drew the two-headed coin, and what is the probability the next flip is heads?
Describe a time you raised a safety, reliability, or correctness concern about software that pushed back a deadline, and how you handled the pressure to ship anyway.
Underwriting a loan runs checks such as KYC, credit pull, fraud screening and income verification, some of which depend on others. Given the steps and dependency pairs, return a valid execution order that is lexicographically smallest, or an empty list if the dependencies contain a cycle.
A market data feed sends (timestamp, price) records, and a later record with an existing timestamp corrects the earlier price. Support update, current (price at the latest timestamp), maximum and minimum across all live records.
Describe a time a change you made caused a production problem. Walk through how you found out, how you handled the incident, and what you changed afterward so it would not happen again.
A Marketplace checkout redesign will run on 1% of users per arm. The scam report rate is 0.05% of buyers per week. Can the test detect a 10% relative increase in scam reports, and if not, what would you do?
Design an ML system that checks each sentence of an LLM-generated clinical note against the visit transcript and flags unsupported or contradicted claims before the clinician signs, with a precision and latency budget suited to production.
A machine room is a grid where 1 marks a healthy server and 0 an unhealthy one. Return the area of the largest square block made entirely of healthy servers, using a DP with O(columns) memory.
Describe a time you had to make or recommend an important decision before you had the data you wanted, and how you managed the risk.
Using a users table with signup dates and a daily activity table, write SQL that groups new Teams users into weekly signup cohorts and reports, for each cohort, the share who came back at least once during days 1 to 7 after signup.
Get the full picture with our company interview guides.
Tell us what you were asked. Get 1 AI interview credit for each approved report.