全部书籍

专业

应用 关于 Coach 登录 开始阅读

书籍暂未推出简体中文版——当前显示英文版。

Computer Science · 术语表

什么是 Trie?

Definition 25.13 University Computer Science — Year 2 · 第 25 章 — Text Algorithms and Compression

A trie of a finite set of words is a rooted tree whose edges are labelled by letters, the edges out of a node having distinct labels, with a mark on some nodes: the word spelled from the root to a node is in the set exactly when the node is marked, and every leaf is marked.

The compressed trie of eight street names, printed by : each chain of single children is one edge labelled by a word. A filled node ends a name. The trie itself has 47 nodes, this one 14.
The compressed trie of eight street names, printed by Output 25.5: each chain of single children is one edge labelled by a word. A filled node ends a name. The trie itself has 47 nodes, this one 14.
在原文中阅读 →