Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Seogeurim/CS-study
/ merge
Method
merge
contents/algorithm/code/KruskalTest.java:57–59 ·
view source on GitHub ↗
(int a, int b)
Source
from the content-addressed store, hash-verified
55
}
56
57
private
void
merge(
int
a,
int
b) {
58
root[find(b)] = find(a);
59
}
60
61
static
class
Edge {
62
int
a, b, c;
Callers
1
getMSTCost
Method · 0.95
Calls
1
find
Method · 0.95
Tested by
no test coverage detected