Skip to Main Content
Computing Atlas
How Computing Was Built
Explore
Browse Domains
A to Z Index
All Systems
Discover
Compare
Path Finder
Trails
Today
Interesting Facts
A Different Lens
Interact
Forum
Communities
Quizzes
Open Questions
Disputed Statements
Cases
Recent Corrections
Recently Added
Campaigns
Embed a Card
About
News
Subscribe
Newsletter Editions
Sign In
Text size
A
100%
A
Reset to 100%
Theme
System
Light
Dark
Switch Atlas
Search Atlases
No Atlases match that search.
Interactive Atlas
The Family Home
The Inner World
Divinity Atlas
Sacred Correspondences
Language Atlas
How Languages Connect
Philosophy Atlas
How Thinkers Disagree
Arts and Music Atlas
Works, Makers, Traditions
Literature Atlas
How Stories Are Told
Sport and Games Atlas
How The Game Is Played
Psychology Atlas
How The Mind Works
Education Atlas
How Knowledge Is Built
Film and Media Atlas
How Stories Are Broadcast
Architecture and Design Atlas
How Space Is Shaped
Home, Crafts and Hobbies Atlas
How Hands Make A Home
The Civil World
Political Atlas
How Power Is Arranged
History Atlas
How The Past Is Known
Economics Atlas
How Wealth Is Ordered
Law Atlas
How The Law Decides
Technology and Engineering Atlas
How Things Are Built
Society and Culture Atlas
How People Live Together
Business Atlas
How Enterprise Is Built
War and Military Atlas
How Battles Were Fought
Crime and Justice Atlas
How Justice Is Served
Computing Atlas
How Computing Was Built
Current Atlas
Transport Atlas
How The World Moves
The Natural World
Science Atlas
How We Know What We Know
Geography Atlas
Where Everything Happened
Medicine Atlas
How Healing Is Practiced
Food and Drink Atlas
How The World Eats
Nature Atlas
How Nature Works
Mathematics Atlas
How Proof Is Made
Space and Astronomy Atlas
How The Universe Works
Earth and Environment Atlas
How The Planet Works
Health and Wellness Atlas
How The Body Thrives
Agriculture and Farming Atlas
How The World Is Fed
Energy Atlas
How The World Is Powered
Search the atlas
Search
☰
Search
Explore
Browse Domains
A to Z Index
All Systems
Discover
Compare
Path Finder
Trails
Today
Interesting Facts
A Different Lens
Interact
Forum
Communities
Quizzes
Open Questions
Disputed Statements
Cases
Recent Corrections
Recently Added
Campaigns
Embed a Card
About
News
Subscribe
Newsletter Editions
Computing Atlas
Two Trees Built From Position, Not Content
Back to Interesting Facts
In a trie, first described in 1959, the meaning of a stored string lives in the node's position in the tree, not in anything written inside the node itself. Each edge stands for exactly one character, so any two strings that share a prefix walk the identical path down from the root for as long as that shared prefix lasts, and only diverge onto separate edges at the first character where they differ. That single design choice is what lets a trie answer an autocomplete suggestion or a dictionary lookup by walking one character at a time from the root, rather than comparing whole candidate strings against each other one by one. The suffix tree, introduced fourteen years later in 1973, is not a separate idea built to solve a separate problem. Its own attested description names it directly: a compressed trie holding every suffix of a string at once. Where an ordinary trie stores a collection of separate strings, a suffix tree takes a single string and tries every one of its own suffixes into the same structure, then compresses the runs of one-child paths so the whole thing stays proportional in size to the original string rather than to the much larger set of suffixes it represents. The payoff of building that structure is specific and measurable: a query for whether some other string appears anywhere inside it can be answered in a number of steps proportional only to the length of the string being searched for, not the length of the string being searched in, which is exactly the property that makes it useful for fast string search, genome analysis and data compression.
Where To Read More
Trie
Data Structure
Suffix Tree
Data Structure