并查集配图勘误

正确的图片应该是9指向6而不是9指向2
This commit is contained in:
TFTree
2023-08-24 08:22:19 +08:00
committed by GitHub
parent 5df6ab7bdf
commit a99b89d002

View File

@ -292,7 +292,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 呢?