Tous les livres

Professionnel

Applis À propos Coach Connexion Commencer la lecture

Computer Science · Glossaire

Qu'est-ce que « Trie » ?

Definition 25.13 University Computer Science — Year 2 · Chapitre 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.
Lire dans le chapitre →