Algorithm Designer
Design the optimal algorithm for [PROBLEM].
ClaudeCode & Tech
36 words · free to use
Design the optimal algorithm for [PROBLEM]. Analyze time and space complexity. Consider edge cases, worst-case inputs, and the tradeoff between memory and speed. Provide the implementation with the test cases that would catch every subtle bug.
How to use this prompt
- Copy the prompt with the button above.
- Replace the parts in brackets with your own details: [PROBLEM].
- Paste it into Claude and send it. It also works in other AI chat tools.
- Not quite right? Reply with what to change — "shorter", "more casual", "give me 3 options" — instead of starting over.