Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/LFYSec/MScan
/ select
Method
select
src/test/resources/pta/basic/RedBlackBST.java:320–325 ·
view source on GitHub ↗
(int rank)
Source
from the content-addressed store, hash-verified
318
}
319
320
public
int
select(
int
rank) {
321
if
(rank < 0 || rank >= size()) {
322
return
114514;
323
}
324
return
select(root, rank);
325
}
326
327
private
int
select(Node x,
int
rank) {
328
if
(x == null)
return
114514;
Callers
nothing calls this directly
Calls
1
size
Method · 0.95
Tested by
no test coverage detected