Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/TheAlgorithms/Go
/ Predecessor
Method
Predecessor
structure/tree/example_test.go:20–20 ·
view source on GitHub ↗
(T)
Source
from the content-addressed store, hash-verified
18
Max() (T, bool)
19
Min() (T, bool)
20
Predecessor(T) (T, bool)
21
Successor(T) (T, bool)
22
PreOrder() []T
23
InOrder() []T
Callers
7
TestRBTree
Function · 0.65
TestDelete
Function · 0.65
TestBinarySearch
Function · 0.65
TestAVL
Function · 0.65
TestRB
Function · 0.65
TestTreePredecessorAndSuccessor
Function · 0.65
TestAVLDelete
Function · 0.65
Calls
no outgoing calls
Tested by
7
TestRBTree
Function · 0.52
TestDelete
Function · 0.52
TestBinarySearch
Function · 0.52
TestAVL
Function · 0.52
TestRB
Function · 0.52
TestTreePredecessorAndSuccessor
Function · 0.52
TestAVLDelete
Function · 0.52