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

129 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. 20Design a plan to migrate an existing authentication system to a new one.HardSystem design· Apple
  21. 21Given the root of a binary tree of integers, return the maximum path sum.MediumCoding· Adobe, Apple
  22. 22Build a Basic Regex ParserHardCoding· Adobe, Apple
  23. 23How would you build an object detection system to identify and locate flowers in images?HardAI ML· Apple
  24. 24How would you build social features on Lyft to increase user engagement?MediumProductSystem design· Apple, Lyft