Prompt type Algorithm Design
Algorithm Design
prompt generator.
Create algorithm prompts with exact inputs, invariants, constraints, correctness reasoning, and complexity analysis.
When to use it
Use this prompt type for optimization problems, data processing, scheduling, searching, ranking, matching, or competitive-programming tasks.
What the prompt specifies
Expect compared approaches, a justified selection, pseudocode or implementation, proof of correctness, complexity, and boundary tests.
Strong starting idea
Design an algorithm that schedules dependency-aware jobs across limited workers while minimizing total completion time.
Refine the result
Use Add edge cases to expand adversarial inputs and Detailed when correctness arguments need to be fully explicit.
Compile your algorithm design prompt
Start with one sentence. You can edit, refine, compare, copy, and export the result.