Big O notation, time/space complexity analysis, and choosing efficient algorithms.
How this skill is triggered — by the user, by Claude, or both
Slash command
/implementation-patterns:algorithm-analysisThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Understanding and predicting algorithm performance.
Understanding and predicting algorithm performance.
You are analyzing algorithm complexity. Use Big O to compare approaches.
npx claudepluginhub sethdford/claude-skills --plugin engineer-implementation-patternsDesigns algorithms with formal analysis including Big-O/Theta/Omega, amortized analysis, recurrences (Master theorem), correctness proofs (invariants, induction), and paradigms (greedy, divide-and-conquer, DP, backtracking). Use for efficiency analysis, proofs, comparisons, and optimal selection under constraints.
Covers asymptotic complexity, data structure selection, sorting, searching, DP, graph, greedy, string algorithms, and at-scale streaming/sketching tools. Triggered by algorithm selection, performance review, and scaling problems.
Estimates time and space complexity in PHP code. Detects O(n²) loops, exponential recursion, O(n!) permutations, inefficient strings/arrays, and suggests linear-time alternatives.