Skip to main content
Go to Latest
function PrefixTreeSearchPrefix
Re-export
import { PrefixTreeSearchPrefix } from "https://deno.land/x/masx200_leetcode_test@10.6.1/mod.ts";

Type Parameters

T extends { children: Map<string, T>; }

Parameters

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

Returns

T | undefined