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

10 questions

  1. 1Binary Tree Maximum Path SumHardCoding· Qualcomm, DoorDash
  2. 2Number of Visible People in a QueueHardCoding· Oracle, Rippling
  3. 3Implement a hashmap without using any libraries.HardCoding· Apple, Goldman Sachs
  4. 4Design a typeahead box for a search engine.HardSystem design· Adobe, Amazon
  5. 5Design a key-value store.HardSystem design· Accenture, Anthropic
  6. 6Implement LRU Cache.HardCoding· Accenture, Adobe
  7. 7Merge k sorted linked lists.HardCoding· Adobe, Apple
  8. 8Given 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
  9. 9Tell me about a time when you solved a complex problem and how you went about it.HardBehavioral· Amazon, Atlassian
  10. 10Calculate the trapped rainwater between bars in a given array.HardCoding· Adobe, Amazon