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

34 questions

  1. 1Better Compression of StringCoding· Adobe, Amazon
  2. 2Burst balloonsHardCoding· Salesforce
  3. 3Course Schedule IICoding· Atlassian, Flipkart
  4. 4Jump Game VIIICoding· ByteDance, Media.net
  5. 5Longest Substring With At Most K Distinct CharactersCoding· BitGo, Groww
  6. 6Merge IntervalsMediumCoding· Blinkit, Docquity Holdings(PBS)
  7. 7Minimum Window SubsequenceCoding· Salesforce
  8. 8Shortest Job FirstCoding· Salesforce
  9. 9Subsets IICoding· Salesforce, Zepto
  10. 10Vertical Order TraversalCoding· Salesforce
  11. 11GraphCoding· Google, Infosys
  12. 12Greedy AlgorithmCoding· Salesforce
  13. 13Group anagramsMediumCoding· Blinkit, MakeMyTrip
  14. 14Longest Subarray with Sum ≤ KCoding· Salesforce
  15. 15Minimize Maximum Component CostMediumCoding· Salesforce
  16. 16Minimum Number of Operations to Reduce Array to ZeroCoding· Salesforce
  17. 17Sliding WindowCoding· Deliveroo, Flipkart
  18. 18The Skyline ProblemHardCoding· Microsoft, Zomato
  19. 19Course ScheduleMediumCoding· Zoho
  20. 20Validate IP AddressMediumCoding· Salesforce
  21. 21Explain the differences between an interface and an abstract class.MediumCodingTechnical· Goldman Sachs, Microsoft
  22. 22Given n houses in a line with money in each, find the maximum amount a robber can steal, without stealing from two adjacent houses.MediumCoding· Adobe, Apple
  23. 23Find the longest substring without repeating characters.MediumCoding· Apple, Intuit
  24. 24Implement LRU Cache.HardCoding· Accenture, Adobe