self-ent-tech-algorithm-sort

Visualization and implementation guide for sorting algorithms, presenting implementations of classic algorithms such as quicksort, mergesort, and heapsort, analyzing time and space complexity, and discussing common optimization strategies and use cases.

Installation

Review the source and dependencies with a prompt. A package is available to download.

Install with an AI assistant

Copy the prompt so your assistant can review the pinned revision and dependencies first.

View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "self-ent-tech-algorithm-sort" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-96392c0c4c778ee9d440297f64309db39da962585259e65d6b1e96f9a42ef38d. Verify the upstream source and version against https://skillhub.cn/skills/user_3c6cb52e/self-ent-tech-algorithm-sort before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.

Source and setup

skillhub.cn

Setup guidance pending

See the original source for supported tools, dependencies, and permissions.

Installation test pending

Visualization and implementation guide for sorting algorithms, presenting implementations of classic algorithms such as quicksort, mergesort, and heapsort, analyzing time and space complexity, and discussing common optimization strategies and use cases.

0 Downloads

Introduction source: third_party · user_3c6cb52e · 2.0.1 Reference

SkillPi interpretation

Tasks
Translation pending; see source documentation.
Audience
Not specified in the source documentation.
Inputs and outputs
```
Software, accounts and paid services
Not specified in the source documentation.
Limits and differences
Not specified in the source documentation.
Testing
Not tested

Browse files

Browse files at the source ↗

Original SKILL.md

Open original ↗
Frontmatter
name: self-ent-tech-algorithm-sort
description: 排序算法可视化与实现指南,覆盖快排、归并、堆排序等经典算法的时间复杂度分析与优化策略。

排序算法实现与分析

角色设定

你是算法工程师,精通各类排序算法的原理、实现和性能优化。

触发条件

  • 用户询问排序算法实现或比较
  • 需要分析算法时间/空间复杂度
  • 优化现有排序性能瓶颈

执行流程

  1. 确认用户需求(排序场景、数据规模、稳定性要求)
  2. 推荐合适的排序算法并说明理由
  3. 提供 Python/C++ 实现代码
  4. 分析最好/最坏/平均时间复杂度
  5. 给出优化建议(如混合排序、并行化)

互动设计

用「试试写一段…」的动手挑战让知识即时转化。在执行过程中保持与用户的互动,每2-3个步骤确认用户理解或邀请参与。

输出格式

## 算法选择
- 场景: [描述]
- 推荐: [算法名]
- 原因: [为什么选择该算法]

## 实现代码
```python
def quicksort(arr):
    ...

## 复杂度分析
- 时间: O(n log n) 平均
- 空间: O(log n)

进度系统

每次使用可积累「经验值」,解锁更深层内容:

  • 🌱 初学者:掌握基础概念
  • 🌿 进阶者:能独立分析和应用
  • 🌳 熟练者:能解决复杂问题
  • 🌟 专家级:能创新和教学

退出机制

用户输入"退出"或"结束"→ 停止,回复"排序算法分析结束,需要时再找我。"

约束

  • 代码必须可运行
  • 复杂度分析必须准确
  • 中文注释说明关键逻辑

Current listing version

2.0.1

Verify the source revision ↗

Safety and assessment details

Quality assessment

Out of 100 · Assessment report from SkillPi LAB.

Scenario Value75/100

Highlights

  • 提供排序算法实现、复杂度分析与优化建议,面向算法学习与性能优化等明确场景
  • 具有广泛受众(学生、开发者、算法工程师),实用价值较高
Trigger Precision85/100

Highlights

  • 触发条件清晰覆盖排序算法实现、复杂度分析、性能优化等核心场景
  • 边界明确,不易与其他 Skill 重叠
Structure and Standards90/100

Highlights

  • 结构完整:含角色设定、触发条件、执行流程、输出格式、退出机制与约束
  • 提供端到端代码示例,frontmatter 完整,文档长度适中
Execution Reliability80/100

Areas to improve

  • 极端场景未覆盖 Reported severity: Minor

    未显式处理用户输入非法或极端场景(如空数组、超大数组)

    Recommendation: 在执行流程中增加输入校验与异常处理说明,提升健壮性

Highlights

  • 工具来源明确(Python/C++ 实现),参数正确,复杂度分析准确
  • 有约束确保代码可运行,可靠性良好
Evidence Verifiability (mean of the first four)83/100

The arithmetic mean of the first four original scores, rounded to a whole number.

Static text checks

100 / 100 · skillpi-20261123-no-r3-v1

No current rules matched the text.

This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.

Permissions and checks before use

Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.

These common operations were not identified in the main document. This does not mean no permissions or risks exist.

These notices grant no permissions. Your host tool must still confirm file changes, secrets, external transfers or costs as needed.

Security rating and access scope

safe · Static evidence review; not a runtime safety guarantee.

Not specified in the source documentation.

Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.