Merge pull request #2253 from TFTree/master

并查集配图勘误
This commit is contained in:
程序员Carl
2023-09-10 20:27:37 +08:00
committed by GitHub

View File

@ -290,7 +290,7 @@ join(2, 9);
此时我们生成的的有向图为:
![](https://code-thinking-1253855093.file.myqcloud.com/pics/20230526122203.png)
![](https://cdn.tftree.top/others/jion.jpg)
有录友可能想,`join(3, 8)` 在图中为什么 将 元素1 连向元素 3 而不是将 元素 8 连向 元素 3 呢?