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
Filters · onDifficulty, topic, company

282 questions

  1. 25Minimize the Maximum Difference of PairsMediumCoding· Amazon
  2. 26Minimum Sum of Mountain Triplets IIMediumCoding· Amazon
  3. 27Partition ListMediumCoding· Amazon
  4. 28Product of Array Except SelfMediumCoding· PayPal, Target
  5. 29Remove Duplicates from Sorted Array IIMediumCoding· Amazon
  6. 30Reschedule Meetings for Maximum Free Time IMediumCoding· Amazon
  7. 31Subarray Sum Equals KMediumCoding· Amazon
  8. 32Subarray Sums Divisible by KMediumCoding· Amazon
  9. 33Course ScheduleMediumCoding· Zoho
  10. 34BiLSTM vs TransformerMediumData· Amazon
  11. 35Urgent decision with incomplete information (Bias for Action)MediumData· Amazon
  12. 36How would you address a performance decline in a program?MediumDataProduct· Amazon, Slack
  13. 37Given a list of items with different sizes, write an algorithm to pack these items into the minimum number of batches without exceeding the capacity of each batch.MediumCoding· Amazon
  14. 38Tell me about a time when you gave a simple solution to a complex problem.MediumBehavioral· Amazon
  15. 39Given the root of a binary tree, return the length of the diameter of the tree.MediumCoding· Amazon, Google
  16. 40Tell me about how you brought a product to market.MediumBehavioralProduct· Amazon, Capital One
  17. 41Tell me about a time you took a calculated risk when speed was critical.MediumBehavioral· Amazon
  18. 42You're a PM for a chat messenger app. How would you prioritize between adding emoticons on the chat or adding chat backup?MediumDataProduct· Amazon
  19. 43How does Google Maps compute ETA?MediumTechnical· Amazon, Funding Societies
  20. 44Tell me about a time when you needed to convince a disagreeing team.MediumBehavioral· Amazon, Google
  21. 45Count items within compartments between specific indices of an array.MediumCoding· Amazon
  22. 46How did COVID-19 affect Amazon?MediumData· Amazon
  23. 47How would you create a carousel using vanilla JavaScript?MediumTechnical· Amazon
  24. 48How many people are on Facebook at any given time?MediumProduct· Amazon