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

74 questions

  1. 25HashmapCoding· Oracle
  2. 26Linked List CycleEasyCoding· CCognitree
  3. 27Match parenthesisCoding· Oracle
  4. 28Maximum SubarrayMediumCoding· Blinkit, Oracle
  5. 29Merge In Between Linked ListsMediumCoding· Oracle
  6. 30Minimum insertions to make string palindromeCoding· Goldman Sachs, Oracle
  7. 31Number of Visible People in a QueueHardCoding· Oracle, Rippling
  8. 32One Easy DSA ProblemCoding· Oracle
  9. 33One Hard DSA ProblemCoding· Oracle
  10. 34Product of Array Except SelfMediumCoding· PayPal, Target
  11. 35Remove duplicates from arrayCoding· Oracle
  12. 36Serialize and De-serialize BTCoding· Oracle
  13. 37Course ScheduleMediumCoding· Zoho
  14. 3801 Matrix: find the nearest zero for every cellMediumCoding· Adobe, Oracle
  15. 39Print all combinations of numbers from 1 to n that sum to n.MediumCoding· Adobe, Apple
  16. 40Implement a hashmap without using any libraries.HardCoding· Apple, Goldman Sachs
  17. 41Design a typeahead box for a search engine.HardSystem design· Adobe, Amazon
  18. 42Design a key-value store.HardSystem design· Accenture, Anthropic
  19. 43Find a triplet in an array with a given sum.MediumCoding· Adobe, Goldman Sachs
  20. 44Generate ParenthesesMediumCoding· Adobe, Google
  21. 45Implement TrieMediumCoding· Apple, Goldman Sachs
  22. 46Find the longest palindromic subsequence using dynamic programming.MediumCoding· Adobe, Apple
  23. 47Find the lowest common ancestor (LCA) of two nodes in a binary tree.MediumCoding· Apple, LinkedIn
  24. 48Implement LRU Cache.HardCoding· Accenture, Adobe