项目作者: mrogaski

项目描述 :
A ternary search tree implementation in Go.
高级语言: Go
项目地址: git://github.com/mrogaski/ternarytree.git
创建时间: 2019-02-27T02:36:00Z
项目社区:https://github.com/mrogaski/ternarytree

开源协议:MIT License

下载


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:
  1. $ go get -u github.com/mrogaski/ternarytree
  1. Import it in your code:
  1. import "github.com/mrogaski/ternarytree"

References