Memoization DSA Problems

40 memoization problems for coding interviews and campus placements, with hints and company tags. Below are all 40: 3 easy, 12 medium and 25 hard. Practise them free on InternHack and track what you have solved.

Memoization problems, easiest first

  1. Climbing Stairs (Easy)
  2. Fibonacci Number (Easy)
  3. N-th Tribonacci Number (Easy)
  4. All Possible Full Binary Trees (Medium)
  5. Can I Win (Medium)
  6. Different Ways to Add Parentheses (Medium)
  7. Flip Game II (Medium)
  8. Integer Replacement (Medium)
  9. Longest Binary Subsequence Less Than or Equal to K (Medium)
  10. Maximum Number of Operations With the Same Score II (Medium)
  11. Minimum Number of Operations to Make X and Y Equal (Medium)
  12. Partition to K Equal Sum Subsets (Medium)
  13. Shopping Offers (Medium)
  14. Sort Integers by The Power Value (Medium)
  15. Word Break (Medium)
  16. Cat and Mouse (Hard)
  17. Cat and Mouse II (Hard)
  18. Count Visited Nodes in a Directed Graph (Hard)
  19. Find Number of Ways to Reach the K-th Stair (Hard)
  20. Largest Color Value in a Directed Graph (Hard)
  21. Least Operators to Express Number (Hard)
  22. Length of Longest V-Shaped Diagonal Segment (Hard)
  23. Longest Increasing Path in a Matrix (Hard)
  24. Maximize Grid Happiness (Hard)
  25. Maximum Number of Groups Getting Fresh Donuts (Hard)
  26. Maximum Points After Collecting Coins From All Nodes (Hard)
  27. Minimum Number of Days to Eat N Oranges (Hard)
  28. Minimum One Bit Operations to Make Integers Zero (Hard)
  29. Number of Distinct Roll Sequences (Hard)
  30. Number of Increasing Paths in a Grid (Hard)
  31. Number of Ways of Cutting a Pizza (Hard)
  32. Number of Ways to Reorder Array to Get Same BST (Hard)
  33. Remove Boxes (Hard)
  34. Selling Pieces of Wood (Hard)
  35. Sliding Puzzle (Hard)
  36. Stickers to Spell Word (Hard)
  37. The Earliest and Latest Rounds Where Players Compete (Hard)
  38. The Score of Students Solving Math Expression (Hard)
  39. Word Break II (Hard)
  40. Zuma Game (Hard)

Companies that ask memoization problems

Before your interview

Most resumes are filtered by software before a recruiter reads them. Check your resume ATS score free, no signup needed.

Other DSA topics