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. 1Design a plan to migrate an existing authentication system to a new one.HardSystem design· Apple
  2. 2Build a Basic Regex ParserHardCoding· Adobe, Apple
  3. 3How would you build an object detection system to identify and locate flowers in images?HardAI ML· Apple
  4. 4Implement multi-head self-attention correctlyHardCodingSystem design· Apple
  5. 5Implement a hashmap without using any libraries.HardCoding· Apple, Goldman Sachs
  6. 6Design a typeahead box for a search engine.HardSystem design· Adobe, Amazon
  7. 7Implement LRU Cache.HardCoding· Accenture, Adobe
  8. 8Merge k sorted linked lists.HardCoding· Adobe, Apple
  9. 9Given 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
  10. 10Sudoku SolverHardCoding· Adobe, Apple
  11. 11Calculate the trapped rainwater between bars in a given array.HardCoding· Adobe, Amazon
  12. 12Describe a challenging project you worked on and what made it difficult.HardBehavioral· Amazon, Anthropic
  13. 13Edit distanceHardCoding· Adobe, Amazon
  14. 14Implement a red-black tree.HardCoding· Apple