Trie data structure
Skill · data structures
In computer science, a trie, also known as a digital tree or prefix tree, is a specialized search tree data structure used to store and retrieve strings from a dictionary or set. Unlike a binary search tree, nodes in a trie do not store their associated key. Instead, each node's position within the trie determines its associated key, with the connections between nodes defined by individual characters rather than the entire key.
Related work
- Word games engine Jun 2026
It uses a Trie, a prefix tree, so pattern and anagram searches only follow paths that can still form words.
As data
Everything on this page is read from triples in the knowledge graph. These are the 5 it states about Trie; the console runs SPARQL over the whole graph, here in your browser.
@prefix id: <https://ask.chaipat.cc/id/> . @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . @prefix cj: <https://ask.chaipat.cc/ns#> . @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . @prefix schema: <https://schema.org/> . id:Trie a cj:Skill ; rdfs:label "Trie data structure" ; cj:category "data structures" ; cj:shortLabel "Trie" ; schema:sameAs <https://en.wikipedia.org/wiki/Trie> .