Skip to main content
Execute qualquer Skill no Manus
com um clique

algorithm-optimization

Estrelas4
Forks0
Atualizado31 de março de 2026 às 01:56

Analyze given algorithms for optimization opportunities and implement performance improvements. Start by identifying the computational complexity of the original algorithm and pinpointing inefficiencies such as repeated calculations, redundant operations, or suboptimal data structures. Apply appropriate optimization techniques: implement memoization for recursive functions with overlapping subproblems, use dynamic programming for problems with optimal substructure, add caching layers for expensive operations, or replace inefficient data structures. Provide before/after complexity analysis using Big O notation, benchmark performance improvements when possible, and explain the trade-offs between time and space complexity. Document the optimization strategy clearly, including when and why the chosen approach is most effective.

Instalação

Instalar com Codex ou Claude Copie este prompt, cole no Codex, Claude ou outro assistente e deixe que ele revise a página da skill e instale para você.

SKILL.md
readonly