【文件属性】:
文件名称:gllrb:Go写的左斜红黑树
文件大小:747KB
文件格式:ZIP
更新时间:2021-04-29 18:55:14
Go
劳改局
Go写的左斜红黑树
执照
GLLRB已获得Apache许可证2.0版的许可。 有关完整的许可证文本,请参阅
内置基元
string -> String
[]byte > Bytes
uint > UInt
int - > Int
例子
import "github.com/levigross/gllrb"
word := [] byte ( "hello" )
// Create a new left leaning red black tree (LLRB)
bytesLLRB := gllrb . NewLLRB ()
// every item placed into the LLRB needs to be encapsulated within a `Comparer` interface
bytesLLRB . Put ( gllrb . Bytes ( word
【文件预览】:
gllrb-master
----compare.go(3KB)
----circle.yml(320B)
----example_test.go(792B)
----node_test.go(14B)
----.travis.yml(488B)
----LICENSE(11KB)
----README.md(2KB)
----test_data()
--------words(2.38MB)
----tree_test.go(6KB)
----tree.go(2KB)
----.gitignore(275B)
----node.go(2KB)