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")); }
MIT License
pub use crate::trie::*;