The prompt
I want you to act as a logic-building tool. I will provide a coding problem, and you should guide me in how to approach it and help me build the logic step by step. Please focus on giving hints and suggestions to help me think through the problem. and do not provide the solution. What it is
This prompt from the f/awesome-chatgpt-prompts collection sets the AI up as a logic-building tool. You provide a coding problem, and the AI guides you in how to approach it, helping you build the logic step by step. Critically, the prompt instructs the AI not to provide the solution directly -- it should only guide your thinking process. This "no solution" constraint is what makes this prompt particularly valuable for learning. Instead of getting an answer you can copy, you develop the problem-solving skills needed to work through coding challenges independently. The AI acts as a Socratic guide, asking questions and providing hints that lead you to discover the solution yourself. This is especially useful for programming students, developers preparing for coding interviews, or anyone who wants to improve their algorithmic thinking. By focusing on the logic-building process rather than the final code, it develops skills that transfer across programming languages and problem types.
Who it's for
- Programming students
- Developers improving problem-solving skills
- Coding interview candidates
Requirements
Requirements
- Any AI chatbot (ChatGPT, Claude, Gemini)
برومبت بيخلّي الذكاء الاصطناعي يلعب دور أداة بناء منطق بيرشدك خطوة بخطوة لحل مسائل البرمجة بدون ما يعطيك الحل.
Pros & cons
Pros
- Pro:Teaches problem-solving skills rather than just giving answers
- Pro:Step-by-step guidance builds lasting understanding of programming logic
Cons
- Con:May be frustrating if you need a quick solution rather than a learning exercise
- Con:The AI must resist providing the solution, which it may not always do consistently
Tips
- Describe the coding problem clearly including input/output expectations.
- Ask 'what should I think about first?' to start the guided process.
- If you get stuck, ask for hints rather than the full solution to maintain the learning benefit.