In computer science, a trie (/ ˈtraɪ /, / ˈtriː / ⓘ), also known as a digital tree or prefix tree, [1] 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.