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. 1Explain the trade-offs involved in model selection.MediumAI ML· 10 min· Microsoft
  2. 2How would you improve Microsoft Copilot?HardProduct· 20 min· Microsoft
  3. 3How would you measure the success of a generative-AI product?MediumProductData· 10 min· Microsoft
  4. 4Tell me about a time you handled bias in an AI product.HardBehavioral· 20 min· Microsoft
  5. 5Walk me through the system design of an AI-powered user experience.HardSystem design· 20 min· Microsoft
  6. 64 Keys KeyboardCoding· Microsoft
  7. 7All Paths from Source Lead to DestinationCoding· Microsoft
  8. 8Asteroid CollisionMediumCoding· Amazon, Microsoft
  9. 9Best time to buy and sell stockCoding· JGJMAN Group, MakeMyTrip
  10. 10Binary Tree Upside DownCoding· Linkedin, Microsoft
  11. 11CandyCoding· Microsoft
  12. 12Celebrity ProblemCoding· Flexport, Microsoft
  13. 13Cheapest flight within K stopsCoding· Microsoft
  14. 14Check for Contradictions in EquationsCoding· Microsoft, PhonePe
  15. 15Course Schedule ICoding· Microsoft, Visa
  16. 16Dijkstra's algorithmCoding· Atlassian, Google
  17. 17Distinct subsequencesCoding· Amazon, Microsoft
  18. 18Find The Closest Marked NodeCoding· Microsoft
  19. 19Find the Kth Lucky NumberCoding· Microsoft
  20. 20Flip GameCoding· Microsoft
  21. 21Floyd warshall algorithmCoding· Microsoft
  22. 22Koko eating bananas.MediumCoding· Flipkart, Amazon
  23. 23Logger Rate LimiterCoding· Microsoft
  24. 24Longest happy prefixCoding· Microsoft