Skip to main content
Deno 2 is finally here 🎉️
Learn more
Go to Latest
class default
import { default } from "https://deno.land/x/masx200_leetcode_test@v0.8.1/implement-trie-prefix-tree/Trie.ts";

Properties

prefixs: Set<string>
words: Set<string>

Methods

insert(word: string): void
search(word: string): boolean
startsWith(prefix: string): boolean