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

239 questions

  1. 49Find the Winner of an Array GameMediumCoding· Microsoft
  2. 50Graph basedCoding· Microsoft, Spinny
  3. 51Grid with obstaclesCoding· Microsoft
  4. 52HashMap + Doubly Linked ListCoding· Microsoft
  5. 53Insert Delete GetRandom O(1) - Duplicates allowedHardCoding· Microsoft
  6. 54Kth Smallest Element in an ArrayCoding· Intuit, Microsoft
  7. 55Largest NumberMediumCoding· Microsoft
  8. 56Longest Consecutive SequenceMediumCoding· Amazon, Microsoft
  9. 57Merge in Between Linked ListCoding· Microsoft
  10. 58Most Profit Assigning WorkMediumCoding· Microsoft
  11. 59Palindrome partitioning IICoding· Amazon, Microsoft
  12. 60Product of Array Except SelfMediumCoding· PayPal, Target
  13. 61Reorder ListMediumCoding· Microsoft
  14. 62SortingCoding· GoDaddy, Microsoft
  15. 63Tag ValidatorHardCoding· Microsoft
  16. 64The Skyline ProblemHardCoding· Microsoft, Zomato
  17. 65TreeCoding· AAugnito, Expedia
  18. 66Two-Pointer BasedCoding· AAugnito, Cisco Meraki
  19. 67Prove MSE is non-convex for logistic regressionData· Microsoft
  20. 68Why is a GPU faster than a CPU? Why is NumPy faster than a list?Data· Microsoft
  21. 69Your ML approach didn't workMediumData· Microsoft
  22. 70You're a financial security product PM. How would you use AI to enhance security across banking systems?HardProductTechnical· Microsoft
  23. 71Walk me through how you'd approach a problem with data not refreshing on the Microsoft Dynamics dashboard.MediumData· Microsoft
  24. 72Tell me about a time when you showed growth mindset.MediumBehavioral· Microsoft