Graph 0de12477

From FuRongJun-1999/dsh-memory · View interactive version

Graph 0de12477 is an AI agent skill from the GitHub repository FuRongJun-1999/dsh-memory. 最小生成树 / 图算法-最小生成树 / Kruskal——按 / 根查找 / 路径压缩。用户提到这些词时使用本技能。 场景:对照:图算法——Kruskal 最小生成树(升序加边+并查集避环)。 【不适用】Not for 以下场景:条件不满足即不适用(负路由:输入不满足生效条件时返回 None/不执行)

How to use this skill

Skill file

图算法-最小生成树(graph-0de12477)

When to use

任务「最小生成树」;对照:图算法——Kruskal 最小生成树(升序加边+并查集避环)。

克制条款(不适用条件)

条件不满足即不适用(负路由:输入不满足生效条件时返回 None/不执行)

How to execute

循环迭代;顺序调用

Verification

References

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.