1 unstable release
0.1.0 | Apr 14, 2023 |
---|
#9 in #happy
4KB
Tries
Rust implementations of Trie.
Example
fn main() {
let mut trie = tries::Trie::new();
trie.insert("happy");
trie.insert("happily");
assert!(trie.search("happy"));
assert!(trie.search("happily"));
assert!(!trie.search("hello"));
}
License
Dependencies
~1.5MB
~24K SLoC