Skip to main content
تشغيل أي مهارة في Manus
بنقرة واحدة

algorithm-optimization

النجوم٤
التفرعات٠
آخر تحديث٣١ مارس ٢٠٢٦ في ٠١:٥٦

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.

التثبيت

التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.

SKILL.md
readonly