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 3Medium 11Hard 2
Filters · onDifficulty, topic, company
16 questions
- 1Climbing StairsEasyCoding·
Media.net - 2Merge IntervalsMediumCoding·
Blinkit, Docquity Holdings(PBS) - 3Group anagramsMediumCoding·
Blinkit, MakeMyTrip - 4Explain the differences between an interface and an abstract class.MediumCodingTechnical·
Goldman Sachs, Microsoft - 5Find a triplet in an array with a given sum.MediumCoding·
Adobe, Goldman Sachs - 6Generate ParenthesesMediumCoding·
Adobe, Google - 7Given 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 - 8Implement merge-sortMediumCoding·
Walmart Labs - 9Find the longest substring without repeating characters.MediumCoding·
Apple, Intuit - 10Implement LRU Cache.HardCoding·
Accenture, Adobe - 11Find the maximum subarray sum.MediumCoding·
Adobe, Apple - 12Merge k sorted linked lists.HardCoding·
Adobe, Apple - 13Partition an array into two sub-arrays with equal sum.MediumCoding·
Apple, LinkedIn - 14Given stock prices for the next n days, how can you maximize your profit by buying or selling one share per day?MediumCoding·
Adobe, Apple - 15Given an array, find the two sum.EasyCoding·
Adobe, Amazon - 16Is this a valid palindrome?EasyCoding·
Adobe, Apple