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

14 questions

  1. 1Maximum Points on a LineHardCoding· Amazon
  2. 2Design In-Memory File SystemHardCoding· Amazon
  3. 3Paths in Matrix Whose Sum Is Divisible by KHardCoding· Amazon
  4. 4Replace Non-Coprime Numbers in ArrayHardCoding· Amazon
  5. 5Sequentially Ordinal Rank TrackerHardCoding· Amazon
  6. 6Strong Password CheckerHardCoding· Amazon
  7. 7Text JustificationHardCoding· Amazon
  8. 8Find the first missing positive number in an array.HardCoding· Amazon
  9. 9Implement LRU Cache.HardCoding· Accenture, Adobe
  10. 10Given a string of parentheses types and an array of their efficiency ratings, write a function to find the most efficient valid parentheses sequence that can be formed. Return its total efficiency score.HardCoding· Amazon
  11. 11Session Data Analysis.HardCodingTechnical· Amazon
  12. 12Write a query to find all dates where the stadium had three or more consecutive days with attendance of 100 or more people.HardCodingData· Amazon
  13. 13Calculate the trapped rainwater between bars in a given array.HardCoding· Adobe, Amazon
  14. 14Edit distanceHardCoding· Adobe, Amazon