fix: spelling errors in Disjoint Set section

This commit is contained in:
Leon Xu committed 2022-04-04 15:36:33 -07:00
1 parent 03531be231
commit f417b8de14
1 file changed
+1 -2
+1 -2
View File
@@ -208,5 +208,4 @@ set.contains(3); //return false
并查集 是一种树形的数据结构,用于处理不交集的合并(union)及查询(find)问题。找几个数字是否在同一个group里面
Find:确定元素属于哪一个子集。它可以被用来确定两个元素是否属于同一子集。
Union:将两个子集合并成同一个集合。
![union-find](/image/union-find.png)
![union-find](/images/union-find.png)