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

65 questions

  1. 1Frog JumpCoding· Amazon, Apple
  2. 2K-th Largest element in an arrayCoding· Apple, Blinkit
  3. 3Kth largest element in a stream of running integersCoding· Apple
  4. 4Read N Characters Given Read4Coding· Apple
  5. 5Top k frequent elementsMediumCoding· Amazon, Apple
  6. 6Word ladder ICoding· Apple, Linkedin
  7. 73Sum ClosestMediumCoding· Apple, Kotak
  8. 8Assign CookiesCoding· Apple
  9. 9Clone a Linked List with Random PointersCoding· Apple
  10. 10Convert a sorted linked list to a balanced BSTCoding· Apple
  11. 11Group anagramsMediumCoding· Blinkit, MakeMyTrip
  12. 12Linked List CycleEasyCoding· CCognitree
  13. 13Minimum Height TreesMediumCoding· Apple, UrbanCompany
  14. 14One medium-hard DP problemCoding· Apple
  15. 15Product of Array Except SelfMediumCoding· PayPal, Target
  16. 16reverse a singly linked list in groups of kCoding· Apple
  17. 17Spiral Matrix TraversalCoding· Apple
  18. 18Traveling Salesman ProblemCoding· Apple
  19. 19Course ScheduleMediumCoding· Zoho
  20. 20Given the root of a binary tree of integers, return the maximum path sum.MediumCoding· Adobe, Apple
  21. 21Build a Basic Regex ParserHardCoding· Adobe, Apple
  22. 22Print all combinations of numbers from 1 to n that sum to n.MediumCoding· Adobe, Apple
  23. 23Find the container with the maximum volume of water.MediumCoding· Apple, Goldman Sachs
  24. 24Implement a hashmap without using any libraries.HardCoding· Apple, Goldman Sachs