/useful_datastructures

some useful datastructure implementations

Primary LanguageJavaMIT LicenseMIT

useful_datastructures

some useful datastructure implementations

Stacks

Heaps

  • Binary Heap

Trees

  • BinarySearchTree

    • Avl implementation which permits duplicate elements
  • PrefixTrie

    • Pretty basic implementation of a Re'trie'val tree which can match prefixes.
  • SuffixTrie

    • A simple extension of the PrefixTrie which can also match suffixes at the cost of double the nodes. I'm working on a more advanced version.