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 190Medium 2,498Hard 982
FiltersDifficulty, topic, company

4,310 questions

  1. 1297How would you create a carousel using vanilla JavaScript?MediumTechnical· Amazon
  2. 1298If you had to create a dashboard for Netflix with only 3 metrics, what would they be?MediumDataProduct· Meta
  3. 1299You have a dataset comprising 1,000 avatar images and 100,000 user descriptions with associated avatar images. Create a model that recommends an image from a new set of 100,000 images for a user description.HardAI ML· SAP
  4. 1300If Mark Zuckerberg asked you to create a product for athletes, what would you build?HardProduct· Meta
  5. 1301How would you approach creating a product roadmap without prior knowledge of the product?MediumProduct· Capital One
  6. 1302Critique the Spotify app.MediumProduct· Spotify
  7. 1303How would you work cross-functionally to strategize, design, and implement virtual debit and credit cards for Capital One?HardProduct· Capital One
  8. 1304How many people are on Facebook at any given time?MediumProduct· Amazon
  9. 1305How many people are listening to songs on Spotify right now?Medium· Spotify
  10. 1306What is the current strategy of 15-minute delivery apps?MediumProduct· Google
  11. 1307Your largest customer is advocating for a new feature not in your roadmap. What do you do?MediumBehavioral· Google, OpenAI
  12. 1308What is the customer and business value of Capital One shopping?MediumProduct· Meta
  13. 1309Cycle Detection in Package Manager.MediumCoding· Adobe
  14. 1310How many 'likes' happen on Facebook each day?Medium· Google
  15. 1311How many 'likes' happen on Instagram each day?MediumProduct· Amazon
  16. 1312How many tweets are tweeted every day on Twitter?Medium· Twitter
  17. 1313Classify products into categoriesData· Amazon
  18. 1314Closed-form linear regression vs gradient descentData· Amazon
  19. 1315Code conv2d from scratchData· Microsoft
  20. 1316Cohort funnel in pandasMediumData· PDPinterest DS take-homes
  21. 1317Derive the logistic loss on a whiteboardHardData· Pinterest
  22. 1318Fine-tune a pre-trained LLM for a product featureData· Microsoft
  23. 1319How did you debug your ML project?HardData· Amazon
  24. 1320KL divergence vs cross-entropyData· Amazon