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 1Medium 22Hard 5
Filters · onDifficulty, topic, company

28 questions

  1. 1Cumulative weekly retention (SQL)MediumData· Pinterest
  2. 2Pinterest WAU is up 5% but email notification open rates are down 2%. Figure out why.MediumDataProduct· Pinterest
  3. 3How do you coach and develop your engineering team?MediumBehavioral· Apple, Cointracker
  4. 4Derive the logistic loss on a whiteboardHardData· Pinterest
  5. 5Merge intervals plus ML fundamentals probeMediumData· Pinterest
  6. 6Two SQL plus one Python on trust & safety dataMediumData· Pinterest
  7. 7How would you decide ad placement on Pinterest?MediumDataProduct· Pinterest
  8. 8Design a product recommendation system.HardAI MLSystem design· Meta, Pinterest
  9. 9Design a rate limiter.MediumSystem design· Amazon, Google
  10. 10Design a shopping experience for Netflix.HardProductSystem design· Meta, Pinterest
  11. 11Design a typeahead box for a search engine.HardSystem design· Adobe, Amazon
  12. 12Given a list of strings, find all strings that encode to the same value using a Caesar Cipher. (A Caesar Cipher rotates characters, e.g. in CC3: a->d, b->e, ..., z->c)MediumCoding· Meta, Pinterest
  13. 13Implement a k-nearest neighbors algorithm.EasyCodingAI ML· Amazon, Pinterest
  14. 14Improve Pinterest.Medium· Pinterest
  15. 15As the PM for Spotify's Discover Weekly, what metrics would you track?MediumData· Pinterest
  16. 16Imagine a teleportation machine that can teleport humans for 100 meters. How would you monetize it? What are the use cases?MediumProduct· Google, Pinterest
  17. 17As a PM at Slack, how would you redesign the product to enter the education sector?HardProduct· Pinterest
  18. 18How do you prioritize features for your engineering team?MediumBehavioral· eBay, LinkedIn
  19. 19For a dataset with a million data points, would you use a DNN or KNN? Why?MediumTechnical· Pinterest
  20. 20Explain the differences between nonconvex and convex functions.MediumTechnical· Pinterest
  21. 21Explain the differences between ReLU and Sigmoid.MediumTechnical· Pinterest
  22. 22Explain overfitting.MediumTechnical· Pinterest
  23. 23Design a Facebook app to connect users with handymen.MediumProduct· Meta, Pinterest
  24. 24How would you improve the experience of people interested in travel on Pinterest?MediumProduct· Pinterest