Skip to content

TomGullen/C-Sharp-Trie

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

C-Sharp-Trie

An implementation of the trie data structure in C#

##Usage

Create a new instance of the Trie

var trie = new Trie(new [] {"hello", "help", "he-man", "happy", "hoppy", "tom"});

Add another word to the trie:

trie.AddWord("hope");

Get autocomplete suggestions:

var autoCompleteSuggestions = trie.GetAutocompleteSuggestions("ha");

##Make the Trie case-sensitive

var trie = new Trie(new [] {"hello", True});

About

An implementation of the trie data structure in C#

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages