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

10 questions

  1. 1Merge IntervalsMediumCoding· Blinkit, Docquity Holdings(PBS)
  2. 2Group anagramsMediumCoding· Blinkit, MakeMyTrip
  3. 3Find a triplet in an array with a given sum.MediumCoding· Adobe, Goldman Sachs
  4. 4Generate ParenthesesMediumCoding· Adobe, Google
  5. 5Given 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
  6. 6Implement merge-sortMediumCoding· Walmart Labs
  7. 7Find the longest substring without repeating characters.MediumCoding· Apple, Intuit
  8. 8Find the maximum subarray sum.MediumCoding· Adobe, Apple
  9. 9Partition an array into two sub-arrays with equal sum.MediumCoding· Apple, LinkedIn
  10. 10Given stock prices for the next n days, how can you maximize your profit by buying or selling one share per day?MediumCoding· Adobe, Apple