Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/douchuan/algorithm
/ TST
Class
TST
src/strings/tst.rs:6–9 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
4
use std::ptr::NonNull;
5
6
pub struct TST<T> {
7
root: Option<NonNull<Node<T>>>,
8
n: usize,
9
}
10
11
struct Node<T> {
12
c: usize,
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected