Skip to content

Add union-find crate #33

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

Conversation

qryxip
Copy link
Member

@qryxip qryxip commented Dec 12, 2019

petgraphUnionFindがfindとunifyしか提供していないことが判明したので..

例えばこの問題を解くときにsizes: Vec<usize>みたいなメモを残す必要があります。

union-findはDL数がbadgeしかありませんがsizeとrankを得られる他に実装をいつかの中から選べるという利点があります。

@statiolake statiolake merged commit 6017df8 into rust-lang-ja:ja-all-enabled Dec 12, 2019
@qryxip qryxip deleted the ja-all-enabled-add-union-find-crate branch December 13, 2019 00:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants