Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/algorithmzuo/algorithm-journey
/ post
Method
post
src/class149/SkipList1.java:243–245 ·
view source on GitHub ↗
(int num)
Source
from the content-addressed store, hash-verified
241
242
// 查询num的后继
243
public
static
int
post(
int
num) {
244
return
post(1, MAXL, num);
245
}
246
247
public
static
int
post(
int
i,
int
h,
int
num) {
248
while
(next[i][h] != 0 && key[next[i][h]] < num) {
Callers
1
main
Method · 0.95
Calls
no outgoing calls
Tested by
no test coverage detected