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

9 questions

  1. 1Build a Basic Regex ParserHardCoding· Adobe, Apple
  2. 2Implement a hashmap without using any libraries.HardCoding· Apple, Goldman Sachs
  3. 3Implement LRU Cache.HardCoding· Accenture, Adobe
  4. 4Merge k sorted linked lists.HardCoding· Adobe, Apple
  5. 5Given an integer array nums and an integer k, return true if nums has a subarray of at least two elements whose sum is a multiple of k.HardCoding· Adobe, Apple
  6. 6Sudoku SolverHardCoding· Adobe, Apple
  7. 7Calculate the trapped rainwater between bars in a given array.HardCoding· Adobe, Amazon
  8. 8Edit distanceHardCoding· Adobe, Amazon
  9. 9Implement a red-black tree.HardCoding· Apple