UNPKG

typescript-algorithms-and-datastructures

Version:
8 lines (7 loc) 187 B
export declare class RadixTree<T> { private root; constructor(); insert(word: string, value: T): void; contains(word: string): boolean; get(word: string): T; }