Skip to content

joshy/trie.dart

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Trie

This package lets you build a trie data structure.

Usage

First you need to create a Trie and then populate with the words.

Trie t = new Trie();
t.addString('one');
// or multiple Strings
t.addStrings(['one', 'two']);

To check a word against the trie use the contains method which returns a boolean value.

var isWord = t.contains('one');

About

trie implementation in dart

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages