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. 673Segment treesCoding· Google
  2. 674Sequentially Ordinal Rank TrackerHardCoding· Amazon
  3. 675Serialize and De-serialize BTCoding· Oracle
  4. 676Shortest pathCoding· Meta
  5. 677Shortest path between two spots on a chessboard (with obstacles)Coding· Amazon
  6. 678Shortest Path in Weighted Graph Using Dijkstra’s AlgorithmCoding· McKinsey & Company
  7. 679Shortest Subarray to be Removed to Make Array SortedMediumCoding· Goldman Sachs
  8. 680Sieve of EratosthenesCoding· Wayfair
  9. 681Sliding WindowCoding· Deliveroo, Flipkart
  10. 682Sliding WindowCoding· Adobe
  11. 683Sliding window Modifed versionCoding· Infosys
  12. 684Sliding Window techniqueCoding· Cisco
  13. 685Smallest Missing Integer Greater Than Sequential Prefix SumEasyCoding· Walmart
  14. 686Smallest Subsequence of Distinct CharactersMediumCoding· PhonePe
  15. 687Sort Array By ParityEasyCoding· Meta
  16. 688Sort Characters by FrequencyCoding· Goldman Sachs
  17. 689Sort Even and Odd Indices IndependentlyEasyCoding· Meta
  18. 690Sort a K-Messed ArrayMediumCoding· Meta
  19. 691SortingCoding· GoDaddy, Microsoft
  20. 692Special Binary StringHardCoding· TSTechMojo Solutions
  21. 693Spiral MatrixCoding· Meta, PayPal
  22. 694Spiral Matrix TraversalCoding· Apple
  23. 695Spreading FireCoding· PhonePe
  24. 696SQL RelatedCoding· BBarclays, Infosys