---
title: "Recursion AI Prompts (3 Free Templates) - AgentDock"
description: "3 free recursion 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/recursion"
docs_index: /llms.txt
---

# Recursion AI Prompts (3 Free Templates) - AgentDock

3 free recursion templates, including Divide and Conquer Explainer and Recursion Explainer and Tracer.

- [Divide and Conquer Explainer](https://agentdock.ai/prompt-library/education/coding/divide-and-conquer-explainer-generator.md): Explain the divide, conquer, and combine pattern underneath merge sort, quicksort, or binary search, tracing each step on a concrete input.
- [Recursion Explainer and Tracer](https://agentdock.ai/prompt-library/education/coding/recursion-explainer-and-tracer.md): Trace a recursive function call by call, showing the stack build and unwind, or generate a fresh recursion practice problem to trace by hand.
- [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)
- [Computer science](https://agentdock.ai/prompt-library/t/computer-science.md)
