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

1,063 questions

  1. 49Diameter of Binary TreeEasyCoding· Nvidia
  2. 50Digit Count in RangeCoding· Amazon
  3. 51Dijkstra's algorithmCoding· Atlassian, Google
  4. 52Distinct subsequencesCoding· Amazon, Microsoft
  5. 53Divide ChocolateCoding· Sprinklr
  6. 54Factor CombinationsCoding· Amazon
  7. 55Find Distance In a Binary TreeCoding· PhonePe
  8. 56Find minimum in Rotated Sorted ArrayCoding· Goldman Sachs, ServiceNow
  9. 57Find missing numberCoding· Nvidia
  10. 58Find Non-Repeating Characters in a StringCoding· Amazon, Atlassian
  11. 59Find out how many times the array is rotatedCoding· M2P Fintech
  12. 60Find peak elementCoding· Amazon
  13. 61Find Peak Element - IICoding· Meta
  14. 62Find The Closest Marked NodeCoding· Microsoft
  15. 63Find the Kth Lucky NumberCoding· Microsoft
  16. 64Find the repeating and missing numberCoding· Google, J.P. Morgan
  17. 65Finding the Number of Visible MountainsCoding· Meta
  18. 66First and last occurrenceCoding· LLinkeye
  19. 67Flip GameCoding· Microsoft
  20. 68Floyd warshall algorithmCoding· Microsoft
  21. 69Frog JumpCoding· Amazon, Apple
  22. 70Generate Binary Strings Without Consecutive 1sCoding· Google
  23. 71Graph Valid TreeCoding· Amazon
  24. 72House robberCoding· Goldman Sachs, Google