Skip to main content
Ejecuta cualquier Skill en Manus
con un clic

algorithm-optimization

Estrellas4
Forks0
Actualizado31 de marzo de 2026 a las 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.

Instalación

Instalar con Codex o Claude Copia este prompt, pégalo en Codex, Claude u otro asistente, y deja que revise la página de la skill y la instale por ti.

SKILL.md
readonly