An open API service indexing awesome lists of open source software.

https://github.com/nickstenning/trie

A simple implementation of a prefix-tree (or trie) data structure in Go
https://github.com/nickstenning/trie

Last synced: over 1 year ago
JSON representation

A simple implementation of a prefix-tree (or trie) data structure in Go

Awesome Lists containing this project

README

          

trie
----

A minimal implementation of a [trie data structure][trie] for [Go][go]. Differs
from most implementations in that it uses string slices (`[]string`) as keys,
rather than just strings.

This makes it suitable for efficiently storing information about hierarchical
systems in general, rather than being specifically geared towards string lookup.

Read the documentation on [godoc.org][docs] for details of how to use `trie`.

[trie]: https://en.wikipedia.org/wiki/Trie
[go]: http://golang.org
[docs]: http://godoc.org/github.com/nickstenning/trie