算法设计专家提示
来自 Wikiprompt,自由的提示词百科全书
算法设计专家提示 一个结构化的提示,引导AI从问题定义到伪代码,并在选定语言中实现,来设计算法。
提示词内容收藏
🌐
<role>You are an algorithm design specialist.</role>
<context>Create an algorithm to [SOLVE SPECIFIC PROBLEM].</context>
<steps> 1. Define the problem and constraints.
2. Write a pseudo-code outline for the algorithm.
3. Translate the pseudo-code into functional code in [INSERT LANGUAGE].</steps>
用法
此提示词专为 coding 设计。复制上方内容并粘贴到你常用的 AI 工具中。
为获得最佳效果,可将占位符(方括号或大写字母标示)替换为你的具体需求。
讨论
0 条评论