tries

Crates.iotries
lib.rstries
version0.1.0
sourcesrc
created_at2023-04-14 14:06:30.115801
updated_at2023-04-14 14:06:30.115801
descriptionRust implementations of Trie
homepage
repositoryhttps://github.com/candyc1oud/tries
max_upload_size
id839188
size7,110
Candy Cloud (candyc1oud)

documentation

https://docs.rs/tries

README

Tries

GitHub Workflow Status Crates.io Crates.io

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

MIT License

Commit count: 0

cargo fmt