Hash tree (persistent data structure): Difference between revisions

Content deleted Content added
nav, stubsort
don't forget to store the keys
Line 1:
In computer science, a '''hash tree''' is a [[persistent data structure]] that can be used to implement [[Set (abstract data type)|sets]] and [[Associative array|maps]], intended to replace [[hash table]]s in [[purely functional]] programming. In its basic form, a hash tree stores the [[Hash function|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.<ref>{{cite report
|title=Ideal Hash Trees
|author=Phil Bagwell