deno.land / x / masx200_leetcode_test@10.6.5 / utils / TrieNodeClear.ts
12345678import { TrieNode } from "../implement-trie-ii-prefix-tree/TrieNode.ts";
export function TrieNodeClear(root: TrieNode) { root.children.clear(); root.prefixCount = 0; root.wordCount = 0;}
Version Info