MCPcopy Create free account
hub / github.com/ashish-chopra/Structures / ceiling

Method ceiling

src/main/java/com/trees/BST.java:249–253  ·  view source on GitHub ↗

returns the ceiling of a given key in the tree. The key may/may not be present in the tree. A ceiling of a key is defined as the smallest element which is larger than or equal to the given key. @param key @return

(Key key)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

testBSTOperationsMethod · 0.95

Calls 1

compareToMethod · 0.45

Tested by 1

testBSTOperationsMethod · 0.76