Todos los libros

Profesional

Apps Acerca de Coach Iniciar sesión Empezar a leer

Computer Science · Glosario

¿Qué es Trie?

Definition 25.13 University Computer Science — Year 2 · Capítulo 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.
Leer en el capítulo →