clrs-algorithms
✓基于CLRS的数据结构和算法参考。在实现、讨论或选择数据结构或算法时使用此技能。自动激活算法选择、复杂性分析和性能优化。通过伪代码示例全面覆盖基础和高级数据结构。
SKILL.md
A comprehensive reference for data structures and algorithms based on "Introduction to Algorithms" (CLRS). This skill provides language-agnostic guidance with pseudocode examples that can be translated to any programming language.
Linear Structures | Structure | Access | Search | Insert | Delete | Use When |
| Array | O(1) | O(n) | O(n) | O(n) | Known size, index access | | Dynamic Array | O(1) | O(n) | O(1) | O(n) | Unknown size, frequent append | | Linked List | O(n) | O(n) | O(1) | O(1) | Frequent insert/delete | | Stack | O(1) | O(n) | O(1) | O(1) | LIFO needed | | Queue | O(1) | O(n) | O(1) | O(1) | FIFO needed |
可引用信息
为搜索与 AI 引用准备的稳定字段与命令。
- 安装命令
npx skills add https://github.com/grndlvl/software-patterns --skill clrs-algorithms- 分类
- {}数据分析
- 认证
- ✓
- 收录时间
- 2026-02-11
- 更新时间
- 2026-02-18
快速解答
什么是 clrs-algorithms?
基于CLRS的数据结构和算法参考。在实现、讨论或选择数据结构或算法时使用此技能。自动激活算法选择、复杂性分析和性能优化。通过伪代码示例全面覆盖基础和高级数据结构。 来源:grndlvl/software-patterns。
如何安装 clrs-algorithms?
打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等) 复制并运行以下命令:npx skills add https://github.com/grndlvl/software-patterns --skill clrs-algorithms 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code 或 Cursor 中使用
这个 Skill 的源码在哪?
https://github.com/grndlvl/software-patterns