We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi,
It seems that the Python solution of 685 Redundant Connection II might need to be improved because it doesn't work.
I wanted to contribute to the solution but I am still trying to solve the problem. :0
The text was updated successfully, but these errors were encountered:
Thanks for notification. This has been fixed :).
Sorry, something went wrong.
@kamyu104 Awesome. I checked the solution and easy to expand from your UnionFind solutions.
Additionally, can I ask you a question?
Could you tell me the reason why we need y != y_root? Without it, it looks fine but I am wondering.
y != y_root
After fixing it, we have skipped the edge which makes 2 parents. y != y_root is no longer required.
@kamyu104 I checked it. Thank you so much!
No branches or pull requests
Hi,
It seems that the Python solution of 685 Redundant Connection II might need to be improved because it doesn't work.
I wanted to contribute to the solution but I am still trying to solve the problem. :0
The text was updated successfully, but these errors were encountered: