Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/TheAlgorithms/Go
/ Push
Method
Push
structure/tree/example_test.go:12–12 ·
view source on GitHub ↗
(...T)
Source
from the content-addressed store, hash-verified
10
11
type
TestTree[T constraints.Ordered]
interface
{
12
Push(...T)
13
Delete(T) bool
14
Get(T) (bt.Node[T], bool)
15
Empty() bool
Callers
15
testFunc
Function · 0.65
TestRBTreePush
Function · 0.65
TestRBTreeDelete
Function · 0.65
TestRBTree
Function · 0.65
TestRBTreeString
Function · 0.65
TestPush
Function · 0.65
TestDelete
Function · 0.65
TestBinarySearch
Function · 0.65
TestAVL
Function · 0.65
TestRB
Function · 0.65
TestTreeGetOrHas
Function · 0.65
TestTreePreOrder
Function · 0.65
Calls
no outgoing calls
Tested by
15
testFunc
Function · 0.52
TestRBTreePush
Function · 0.52
TestRBTreeDelete
Function · 0.52
TestRBTree
Function · 0.52
TestRBTreeString
Function · 0.52
TestPush
Function · 0.52
TestDelete
Function · 0.52
TestBinarySearch
Function · 0.52
TestAVL
Function · 0.52
TestRB
Function · 0.52
TestTreeGetOrHas
Function · 0.52
TestTreePreOrder
Function · 0.52