← All DSA topicsDynamic programming practice problems
Break a problem into overlapping subproblems. Define the state, base cases, and transitions, then compare memoization with a bottom-up solution.
Practice on CodeForge
- 4. Cybersecurity Log Pattern DetectionHunter
- 6. Airline Ticket Reselling — Fare Opportunity PlanningBeast
- 7. Kingdom Battle: Capture the Maximum Number of VillagesBeast
- 8. Battle for the KingdomHunter
- 11. Alien DNA TransformationBeast
- 24. Rabbit Path— 1, 3, or 5 JumpsNovice
- 26. Server Log Pattern MatchingBeast
- 27. AI Log Wildcard MatchingBeast
- 28. 2-Step Document PrintingHunter
- 36. Medical Kit Assembly PlannerBeast
- 39. Hospital Resource AllocationHunter
Read each problem freely. Sign in to run your code, submit solutions, and track your progress.