AGENT SKILL
complexity
Algorithm complexity analysis
- License 许可
- MIT
- 最近更新
- 2026-03-01
- Stars
- ★ 3
- Forks
- 2
01 前言 Front Matter
- name
- complexity
- license
- MIT
- metadata
- { "audience": "programmers", "category": "computer-science" }
- description
- Algorithm complexity analysis
- compatibility
- opencode
02 资源文件 2
- 参考文档agents/openai.yaml402 B
- 参考文档references/firmware-layout.md1.1 KB
03 SKILL.md 正文
What I do
- Analyze time and space complexity of algorithms
- Classify problems by complexity classes (P, NP, PSPACE)
- Prove NP-completeness and NP-hardness
- Apply asymptotic notation (Big-O, Ω, Θ)
- Design approximation algorithms
- Analyze randomized algorithm complexity
When to use me
When optimizing algorithms, proving computational limits, or classifying problem difficulty.
Key Concepts
- Big-O: f = O(g) if ∃c,n₀: f(n) ≤ cg(n) for n ≥ n₀
- P: Problems solvable in polynomial time
- NP: Problems verifiable in polynomial time
- NP-Complete: Hardest problems in NP, polynomial-time reduction
- Space Complexity: Memory requirements vs input size
- Polynomial-Time Reduction: Transform one problem to another preserving complexity
04 同仓库更多 Skills
xamarin
Xamarin cross-platform development
★ 3
wrangling
Data wrangling fundamentals
★ 3
windows
Windows operating system administration and scripting
★ 3
wide-column
Wide-column data model
★ 3
wide-column-stores
Wide-column database stores
★ 3
websockets
WebSocket implementation and best practices
★ 3