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

Parameters

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

Returns

T | undefined