-
-
Notifications
You must be signed in to change notification settings - Fork 5.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
a problem with code #197
Comments
对,这里有问题,应该是: |
呵呵,来信收到,谢谢
|
这是来自QQ邮箱的假期自动回复邮件。
您好,我最近正在休假中,无法亲自回复您的邮件。我将在假期结束后,尽快给您回复。
|
@zhangbo2008 我这里的 proot 和 qroot 只是代表 index,存的 count 是在 uf.count[proot] 中。 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
LeetCode-Go/template/UnionFind.go
Line 104 in f0792d1
感觉这个地方应该是:
应该是 uf.count[proot]== len(uf.parent)-1
The text was updated successfully, but these errors were encountered: