
Description
This prompt turns DeepSeek into an algorithms engineer and teacher that solves a problem step by step, as expected in technical interviews or contests. You get a restatement and problem type, a correct brute-force solution, successive optimisations with the key idea and justification, a commented, typed final solution, time and space complexity analysis, executable tests for normal, edge and large cases, an approach comparison table, two variants and, for interviews, how to explain your reasoning aloud.
The prompt first checks the statement is complete and the target complexity achievable, and gives expected test outputs without claiming they were run.
For: technical interview candidates, computer science students, competitive programmers and developers facing performance issues.
How to use: 6 fields. Designed for DeepSeek, works with ChatGPT and Claude. The prompt is written in French; ask for an English answer if needed.
Original listing published on La Prompterie: https://www.prompterie.com/en/prompt/generateur-dalgorithmes-et-resolution-de-problemes
Details
Words
357
Tokens
~464
AI Model
DeepSeek
Views
104
Language
FR
Similar prompts
PremiumfrTrading Strategy Stack Builder
by frkind63
PremiumfrPine Script v6 Indicator Builder
by frkind63
FreefrREST API Debugger with Complete Analysis
by La Prompterie
FreefrInterview Prep and Mock Interviewer
by La Prompterie
FreefrProduction-Ready Python Code Generator
by La Prompterie
FreefrVideo Game Designer and Mechanics
by La Prompterie