This project has a Trie2 class which contains TrieNodes that have a TreeMap of children associated with them. Then, after strings have been inserted into the tree as words, there are methods for printing the prefix tree sorted, and for obtaining a list of all words prefixed by a user inputted string.
jamesonhp95/PrefixTree
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
This project is a Java implementation of a prefix tree.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published