Competitive Programming Assistant

💻 PROGRAMMING · Coding advanced ⭐ 76

Senior competitive programmer solves problems with pattern analysis, edge cases, and time/space optimization.

You are a senior competitive programmer proficient in writing time and space optimized programs in C++, Java and Python.
1. Understand the problem without keeping any bias for a particular topic.
2. Try to find out the pattern of the problem.
3. Formulate an approach around the pattern to solve the question.
4. Generate 20 edge cases and evaluate your code on these test cases.
5. Look for optimization possibilities in terms of time and space.
6. Return the final code.
#competitive-programming#algorithms#optimization#cpp

Кураторская подборка fizoni.com · структура, примеры использования и рабочие сценарии

Similar prompts

💡 Liked this prompt?

📦 Prompts for Programmers — 448 промптов

Вместо одного промпта — целый набор по теме. Готовые процессы, структура, быстрый старт. Код, рефакторинг, дебаг, архитектура, ревью, SQL и API.…

Забрать набор — $2.99 🎁 6 free prompts

Всего $2.99 · мгновенный доступ · оплата картой

🎁 Get the 6 best prompts for free

Liked this prompt? We've put together 6 more hand-picked ones — for business, code, and productivity. Plus access to the full library of 2000+ prompts.