proxy.golang.org : github.com/sevagh/k-ary-tree
Package karytree implements a recursive k-ary tree data structure. The children of the tree is a slice of Node pointers. The slice of children is originally uninitialized, but is filled with k nils when any one child is set. The tree also stores the value of k. The caller is responsible for in-range indexing (e.g. don't set a 5th child of a k=3 node).
Registry
-
Source
- Documentation
- JSON
purl: pkg:golang/github.com/sevagh/k-ary-tree
Keywords:
datastructures
, generics
, kary-tree
, n-ary-tree
, recursive-data-structures
, tree
License: MIT
Latest release: over 1 year ago
First release: almost 5 years ago
Namespace: github.com/sevagh
Stars: 0 on GitHub
Forks: 0 on GitHub
See more repository details: repos.ecosyste.ms
Last synced: 22 days ago