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
FiltersDifficulty, topic, company

4,310 questions

  1. 1009Segment treesCoding· Google
  2. 1010Sequentially Ordinal Rank TrackerHardCoding· Amazon
  3. 1011Serialize and De-serialize BTCoding· Oracle
  4. 1012Shortest pathCoding· Meta
  5. 1013Shortest path between two spots on a chessboard (with obstacles)Coding· Amazon
  6. 1014Shortest Path in Weighted Graph Using Dijkstra’s AlgorithmCoding· McKinsey & Company
  7. 1015Shortest Subarray to be Removed to Make Array SortedMediumCoding· Goldman Sachs
  8. 1016Sieve of EratosthenesCoding· Wayfair
  9. 1017Sliding WindowCoding· Deliveroo, Flipkart
  10. 1018Sliding WindowCoding· Adobe
  11. 1019Sliding window Modifed versionCoding· Infosys
  12. 1020Sliding Window techniqueCoding· Cisco
  13. 1021Smallest Missing Integer Greater Than Sequential Prefix SumEasyCoding· Walmart
  14. 1022Smallest Subsequence of Distinct CharactersMediumCoding· PhonePe
  15. 1023Sort Array By ParityEasyCoding· Meta
  16. 1024Sort Characters by FrequencyCoding· Goldman Sachs
  17. 1025Sort Even and Odd Indices IndependentlyEasyCoding· Meta
  18. 1026Sort a K-Messed ArrayMediumCoding· Meta
  19. 1027SortingCoding· GoDaddy, Microsoft
  20. 1028Special Binary StringHardCoding· TSTechMojo Solutions
  21. 1029Spiral MatrixCoding· Meta, PayPal
  22. 1030Spiral Matrix TraversalCoding· Apple
  23. 1031Spreading FireCoding· PhonePe
  24. 1032SQL RelatedCoding· BBarclays, Infosys