Skip to content

Commit e6e5a48

Browse files
authored
Update 685._Redundant_Connection_II.md
1 parent 1fba326 commit e6e5a48

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/Leetcode_Solutions/685._Redundant_Connection_II.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ class Solution(object):
3737
def find(node_parent, parent):
3838
return parent if node_parent[parent] == parent else find(node_parent, node_parent[parent])
3939

40-
n, count = len(edges), 0 # Use count to track the number of the invalid edge.
40+
n, count = len(edges), 0 # count 来计数不合法的边
4141
node_parent = [i for i in range(n+1)]
4242
res = [0, 0]
4343

0 commit comments

Comments
 (0)