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 1Medium 10Hard 0
Filters · onDifficulty, topic, company

19 questions

  1. 12 Eggs and 100 Floors (puzzle)Coding· Samsung
  2. 23-D Dynamic Programing (similar to the standard problem)Coding· Samsung
  3. 3DP RelatedCoding· Samsung
  4. 4Find triplets in an array that add up to zeroCoding· Samsung
  5. 5Graphs DFSCoding· Samsung
  6. 6Red Black TreeCoding· Samsung
  7. 7Surrounded Regions (standard question)Coding· Samsung
  8. 83 cuts to cut the round cake into 8 equal piecesTechnical· Samsung
  9. 9How would you collect data from customers of Samsung.com?MediumData· Samsung
  10. 10Design a smart picture frame.MediumProduct· Samsung
  11. 11Find the longest substring without repeating characters.MediumCoding· Apple, Intuit
  12. 12Find the maximum subarray sum.MediumCoding· Adobe, Apple
  13. 13Why are online orders on The New Yorker down 30%?MediumDataProduct· Samsung
  14. 14How would you implement a child-parent relation for finding the Least Common Ancestor (LCA) without using pointers?MediumCoding· Samsung
  15. 15Design a system that filters waste by detecting paper and putting it in the correct bin.MediumAI MLSystem design· Samsung
  16. 16Given an array, find the two sum.EasyCoding· Adobe, Amazon
  17. 17Give an example of when the program manager managed headcount and budgeting for a project.MediumBehavioral· Amazon, Samsung
  18. 18Should Samsung enter the gaming console market?MediumProduct· Google, Samsung
  19. 19What are your strengths and weaknesses?MediumBehavioral· Google, Gusto