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