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

8 questions

  1. 1Longest Cycle in a GraphHardCoding· Goldman Sachs
  2. 2Design a distributed logging system.HardSystem design· Amazon, Goldman Sachs
  3. 3Design Git.HardSystem design· Goldman Sachs
  4. 4Implement a hashmap without using any libraries.HardCoding· Apple, Goldman Sachs
  5. 5Implement LRU Cache.HardCoding· Accenture, Adobe
  6. 6Given 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
  7. 7Design a notification system.HardSystem design· Goldman Sachs, OpenAI
  8. 8Calculate the trapped rainwater between bars in a given array.HardCoding· Adobe, Amazon