并查集
通过例题来体会并查集的作用和用法
随意凯
这个作者很懒,什么都没留下…
展开
-
poj 1703 Find them, Catch them——种类并查集的最简单例题
Description The police office in Tadu City decides to say ends to the chaos, as launch actions to root up the TWO gangs in the city, Gang Dragon and Gang Snake. However, the police first needs to identify which gang a criminal belongs to. The present quest原创 2020-05-27 11:29:57 · 222 阅读 · 0 评论 -
并查集之种类并查集——详解
知乎上看到的一篇文章,解释得非常到位了,有图有文字有题目 种类并查集详解转载 2020-05-27 10:53:10 · 918 阅读 · 0 评论