Skip to main content
Deno 2 is finally here 🎉️
Learn more
Go to Latest
function PrefixTreeInsert
import { PrefixTreeInsert } from "https://deno.land/x/masx200_leetcode_test@8.3.4/design-add-and-search-words-data-structure/PrefixTreeInsert.ts";

Parameters

root: T
word: string
optional
unnamed 2: { stop?: (node: T) => boolean; each?: (node: T) => void; create?: () => T; end?: (node: T) => void; } = [UNSUPPORTED]