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 1Medium 2Hard 1
Filters · onDifficulty, topic, company

16 questions

  1. 1Course Schedule IICoding· Atlassian, Flipkart
  2. 2Minimum Knight MovesCoding· Walmart
  3. 3Paint FenceCoding· Amazon, Walmart
  4. 4Trapping RainwaterCoding· BloomBerg, PhonePe
  5. 5DPCoding· Amazon, Goldman Sachs
  6. 6Find All Anagrams in a StringMediumCoding· Walmart
  7. 7Find the Kth Highest Frequency Character in a StreamCoding· Walmart
  8. 8Make K-Subarray Sums EqualMediumCoding· Walmart
  9. 9MatrixCoding· Goldman Sachs, Swiggy
  10. 10Max Sum Subarray After K ModificationsCoding· Walmart
  11. 11Maximum Value of K Coins From PilesHardCoding· Walmart
  12. 12Maximum Width of Binary TreeCoding· Walmart
  13. 13Sliding WindowCoding· Deliveroo, Flipkart
  14. 14Smallest Missing Integer Greater Than Sequential Prefix SumEasyCoding· Walmart
  15. 15Sum of Maximums of Every Window of Size KCoding· Walmart
  16. 16Tree Game ProblemCoding· Walmart