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

43 questions

  1. 1How would you design an A/B test for a new campaign?MediumData· Uber
  2. 2How would you evaluate Facebook's emotion scale? What metrics and tests would you use?MediumData· Meta
  3. 3Explain Bayes' theorem.MediumTechnicalData· Goldman Sachs, LinkedIn
  4. 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
  5. 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
  6. 6Identify success metrics for a marketing campaign to get new users, then design an experiment to determine if the campaign should continue.MediumData· Anthropic
  7. 7In the transformer architecture, what makes the decoder different from the encoder?MediumData· Microsoft
  8. 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
  9. 9On DoorDash, there are missing item and wrong item issues for deliveries. How would you analyze each of them?MediumData· DoorDash
  10. 10A $5 discount coupon is given to N riders. The probability of using a coupon is P. What is the expected cost for the company?EasyData· Lyft
  11. 11Explain precision and recall to a non technical stakeholderMediumData· Google
  12. 12What does your confidence level mean when building a confidence interval?MediumData· Cisco
  13. 13In what cases should you use the median instead of the mean?MediumData· McKinsey
  14. 14How would you model the expected ROI of a new product launch?MediumData· Anthropic
  15. 15A 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
  16. 16Robinhood 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
  17. 17A PM at Google asked you to describe the distribution of daily search queries per user. How would you describe it?MediumData· Google
  18. 18What is a p-value?MediumData· Accenture, Meta
  19. 19Describe a situation where an A/B test would not be appropriate. What type of test would you run instead? Why?MediumData
  20. 20Given multiple engagement metrics for a single experiment, how would you adjust the p-value thresholds for your experiment and why?MediumData
  21. 21Walk me through how you'd assess the success of a beta launch.MediumData
  22. 22If you flip a coin 10 times and the results are all heads, what’s the probability that the coin is a fair coin?HardData
  23. 23Two 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
  24. 24Design a test to measure the effectiveness of a new rider-driver matching algorithm.MediumData