Skip to content

mrogaski/ternarytree

Repository files navigation

ternarytree

Build Status codecov Codacy Badge Go Report Card GoDoc License

A Go implementation of ternary search trees as described by Jon Bentley and Robert Sedgewick.

Ternary search trees are interesting data structures that provide a means of storing and accessing strings. They combine the time efficiency of digital tries with the space efficiency of binary search trees. Unlike a hash, they also maintain information about relative order.

Installation

To install ternarytree package, you need to install Go and set your Go workspace first.

  1. Download and install it:
$ go get -u github.com/mrogaski/ternarytree
  1. Import it in your code:
import "github.com/mrogaski/ternarytree"

References

About

A ternary search tree implementation in Go.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages