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