Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/algorithmzuo/algorithm-journey
/ swap
Method
swap
src/class136/ShowDetails.java:78–82 ·
view source on GitHub ↗
(int a, int b)
Source
from the content-addressed store, hash-verified
76
}
77
78
public
static
void
swap(
int
a,
int
b) {
79
long tmp = basis2[a];
80
basis2[a] = basis2[b];
81
basis2[b] = tmp;
82
}
83
84
public
static
void
main(String[] args) {
85
// 课上讲的普通消元,例子1
Callers
1
compute2
Method · 0.95
Calls
no outgoing calls
Tested by
no test coverage detected