MCPcopy Create free account
hub / github.com/algorithm004-01/algorithm004-01 / union

Method union

Week 06/id_566/leetcode_547_566.py:44–62  ·  view source on GitHub ↗

x,y 表示满足朋友关系的两小朋友

(self, x, y, parent, rank)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

findCircleNumMethod · 0.95

Calls 1

findRootMethod · 0.95

Tested by

no test coverage detected