---
title: Hash tree (persistent data structure)
slug: hash-tree-persistent-data-structure
qid: 
snapshot: enwiki-001264859772
content_hash: 
license: CC BY-SA 4.0
source: https://en.wikipedia.org/w/index.php?oldid=1264859772
tags: [20589555, 23118434, 23468805, 23603337, 24043274, 26851625, 54955743, 58679925]
---

# Hash tree (persistent data structure)

> [!note] Provenance
> Snapshot `enwiki-001264859772` · content root `…`
> Derived from <https://en.wikipedia.org/w/index.php?oldid=1264859772> · Licensed CC BY-SA 4.0

In computer science, a hash tree (or hash trie) is a persistent data structure that can be used to implement sets and maps, intended to replace hash tables in purely functional programming. In its basic form, a hash tree stores the hashes of its keys, regarded as strings of bits, in a trie, with the actual keys and (optional) values stored at the trie's "final" nodes. Hash array mapped tries and Ctries are refined versions of this data structure, using particular type of trie implementations.

In computer science, a hash tree (or hash trie) is a persistent data structure that can be used to implement sets and maps, intended to replace hash tables in purely functional programming. In its basic form, a hash tree stores the hashes of its keys, regarded as strings of bits, in a trie, with the actual keys and (optional) values stored at the trie's "final" nodes. Hash array mapped tries and Ctries are refined versions of this data structure, using particular type of trie implementations. ==References==
