---
title: "Dynamic programming AI Prompts (2 Free Templates) - AgentDock"
description: "2 free dynamic programming prompts for ChatGPT, Claude, and Gemini. Professional templates with smart variables. Copy and use instantly, or run them in the AgentDock editor."
url: "https://agentdock.ai/prompt-library/t/dynamic-programming"
docs_index: /llms.txt
---

# Dynamic programming AI Prompts (2 Free Templates) - AgentDock

2 free dynamic programming templates, including Greedy Algorithm Explainer and Dynamic Programming Explainer with Practice Problem.

- [Greedy Algorithm Explainer](https://agentdock.ai/prompt-library/education/coding/greedy-algorithm-explainer-generator.md): Trace a greedy algorithm through a worked example, then show a counterexample where the same strategy fails, illustrating greedy's real limits.
- [Dynamic Programming Explainer with Practice Problem](https://agentdock.ai/prompt-library/education/coding/dynamic-programming-explainer-and-practice-generator.md): Explain a classic dynamic programming problem by exposing the naive solution's repeated work, then solving it again with memoization, compared side by side.

## Related tags

- [Education](https://agentdock.ai/prompt-library/t/education.md)
- [Algorithms](https://agentdock.ai/prompt-library/t/algorithms.md)
- [Recursion](https://agentdock.ai/prompt-library/t/recursion.md)
