balanced tree data structures怎么翻译啊
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了balanced tree data structures怎么翻译啊相关的知识,希望对你有一定的参考价值。
参考技术A 它应该是一种显示数据资料的图,我数学不太好,最讨厌听到binary那些跟电脑数学扯上关系的字词、自己看解释Tree structures support various basic dynamic set operations including Search, Predecessor, Successor, Minimum, Maximum, Insert, and Delete in time proportional to the height of the tree. Ideally, a tree will be balanced and the height will be log n where n is the number of nodes in the tree. To ensure that the height of the tree is as small as possible and therefore provide the best running time, a balanced tree structure like a red-black tree, AVL tree, or b-tree must be used.
When working with large sets of data, it is often not possible or desirable to maintain the entire structure in primary storage (RAM). Instead, a relatively small portion of the data structure is maintained in primary storage, and additional data is read from secondary storage as needed. Unfortunately, a magnetic disk, the most common form of secondary storage, is significantly slower than random access memory (RAM). In fact, the system often spends more time retrieving data than actually processing data.
B-trees are balanced trees that are optimized for situations when part or all of the tree must be maintained in secondary storage such as a magnetic disk. Since disk accesses are expensive (time consuming) operations, a b-tree tries to minimize the number of disk accesses. For example, a b-tree with a height of 2 and a branching factor of 1001 can store over one billion keys but requires at most two disk accesses to search for any node 参考技术B 平衡树数据结构本回答被提问者采纳
以上是关于balanced tree data structures怎么翻译啊的主要内容,如果未能解决你的问题,请参考以下文章