Question bank
4,310 interview questions, answered.
Reference answers, what the interviewer is really testing, how it is graded, and the follow-ups that come next.
Easy 3Medium 38Hard 2
Filters · onDifficulty, topic, company
38 questions
- 1How would you design an A/B test for a new campaign?MediumData·
Uber - 2How would you evaluate Facebook's emotion scale? What metrics and tests would you use?MediumData·
Meta - 3Explain Bayes' theorem.MediumTechnicalData·
Goldman Sachs, LinkedIn - 4You're designing an A/B test to evaluate the impact of showing content from non-friends in users' feeds. How would you test this with proper randomization?MediumData·
Meta - 5Hypothesis Testing: Suppose a PM claims that users, on average, spend about $50 per month on Amazon. However, you doubt this claim and believe the average should be higher. You sample 100 users and find the sample mean is $85. Would you reject the PM's claim? Assume population standard deviation is 20.MediumData·
Amazon - 6Identify success metrics for a marketing campaign to get new users, then design an experiment to determine if the campaign should continue.MediumData·
Anthropic - 7In the transformer architecture, what makes the decoder different from the encoder?MediumData·
Microsoft - 8A PM at Meta asked you to describe the distribution of daily minutes spent on Facebook per user. How would you describe it?MediumData·
Meta - 9On DoorDash, there are missing item and wrong item issues for deliveries. How would you analyze each of them?MediumData·
DoorDash - 10Explain precision and recall to a non technical stakeholderMediumData·
Google - 11What does your confidence level mean when building a confidence interval?MediumData·
Cisco - 12In what cases should you use the median instead of the mean?MediumData·
McKinsey - 13How would you model the expected ROI of a new product launch?MediumData·
Anthropic - 14A discount coupon is given to N riders. The probability of using a coupon is P. What is the probability that one of the coupons will be used?MediumData·
Lyft - 15Robinhood is planning to introduce a new feature which allows users to trade fractional shares. How would you decide whether this is a good idea or not?MediumData·
Robinhood - 16A PM at Google asked you to describe the distribution of daily search queries per user. How would you describe it?MediumData·
Google - 17What is a p-value?MediumData·
Accenture, Meta - 18Describe a situation where an A/B test would not be appropriate. What type of test would you run instead? Why?MediumData
- 19Given multiple engagement metrics for a single experiment, how would you adjust the p-value thresholds for your experiment and why?MediumData
- 20Walk me through how you'd assess the success of a beta launch.MediumData
- 21Two machines produce light bulbs: Machine A produces 60% of the bulbs while machine B produces the remaining. Machine A produces defective bulbs at a rate of 5%, while machine B produces defective bulbs at a rate of 3%. If a randomly selected bulb is defective, what is the probability that it was produced by machine A?MediumData
- 22Design a test to measure the effectiveness of a new rider-driver matching algorithm.MediumData
- 23How do you determine sample size based off a certain power you want?MediumData
- 24Say you flip a coin 10 times and observe only one head. What would be your null hypothesis and p-value for testing whether the coin is fair or not?MediumData