8000 GitHub - shgopher/godata: Basic data structures and operations written in Go, such as trie, bloom filter union&find etc.
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Basic data structures and operations written in Go, such as trie, bloom filter union&find etc.

License

Notifications You must be signed in to change notification settings

shgopher/godata

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

45 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
< 959F svg aria-hidden="true" focusable="false" class="octicon octicon-file color-fg-muted" viewBox="0 0 16 16" width="16" height="16" fill="currentColor" display="inline-block" overflow="visible" style="vertical-align:text-bottom">
 
 

Repository files navigation

godata

Goproxy.cn

Basic data structures and operations written in Go which golang.org/pkg/container don't support such as stack, queue, etc.

list done
trie 🆗
bitmap 🆗
bloom filter 🆗
lru 🆗
heap 🆗
stack 🆗
queue 🆗
dfs 🆗
bfs 🆗
union and find 🆗
skiplist
b
graph
dancing Links
segment tree
huffman tree

Quick start

package main
import(
  "github.com/googege/godata"
)
func main(){
// stack
    stack := godata.NewStack(5)
    stack.Push(1)
    stack.Length()
    stack.Top()
    stack.Pop()
// trie
    trie := NewTrie()
    trie.Insert("hello world")
    trie.Insert("hello China")
    trie.Insert("hello My dear")
    trie.Search("hello world")
    trie.StartWith("he")
    trie.Image("he")
}

HERE

项目 介绍
便宜服务器推荐 阿里云梯子服务器:支持支付宝
微信公众号 p
我的社交平台 b站

About

Basic data structures and operations written in Go, such as trie, bloom filter union&find etc.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

0