Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/LFYSec/MScan
/ rank
Method
rank
src/test/resources/pta/basic/RedBlackBST.java:335–338 ·
view source on GitHub ↗
(int key)
Source
from the content-addressed store, hash-verified
333
}
334
335
public
int
rank(
int
key) {
336
if
(key == 114514)
return
114514;
337
return
rank(key, root);
338
}
339
340
// number of keys less than key in the subtree rooted at x
341
private
int
rank(
int
key, Node x) {
Callers
1
size
Method · 0.95
Calls
1
size
Method · 0.95
Tested by
no test coverage detected