| Crates.io | tries |
| lib.rs | tries |
| version | 0.1.0 |
| created_at | 2023-04-14 14:06:30.115801+00 |
| updated_at | 2023-04-14 14:06:30.115801+00 |
| description | Rust implementations of Trie |
| homepage | |
| repository | https://github.com/candyc1oud/tries |
| max_upload_size | |
| id | 839188 |
| size | 7,110 |
Rust implementations of Trie.
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"));
}