更新
This commit is contained in:
+9
@@ -0,0 +1,9 @@
|
||||
declare class Trie {
|
||||
add(word: string): void;
|
||||
remove(word: string): void;
|
||||
has(word: string): boolean;
|
||||
words(prefix: string): string[];
|
||||
clear(): void;
|
||||
}
|
||||
|
||||
export = Trie;
|
||||
Reference in New Issue
Block a user