Method for balancing binary search trees
Abstract
Method for balancing a binary search tree. A computer implemented method for balancing a binary search tree includes locating a node in a binary search tree, determining whether a depth of the located node is greater than a threshold, and performing balancing operations. If the depth of the located node is greater than the threshold, the balancing operations may include a modified semi-splay balancing procedure. Regardless of depth, localized balancing operations may be performed while locating a node.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 7 · Forward citations: 8.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A computer implemented method for balancing a binary search tree, comprising: locating a node in a binary search tree to form a located node; determining whether a depth of the located node is greater than a threshold, wherein determining whether the depth of the located node is greater than the threshold comprises determining by how much the depth of the located node is greater than an ideal maximum depth of a perfectly balanced binary tree, and wherein determining by how much the depth of the located node is greater than the ideal maximum depth of the perfectly balanced binary tree comprises
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (8 of 8 total)
References Cited — Backward Prior Art (7)
Non-Patent Literature (2)
- "Application Of Splay Trees to Data Compression", (ACM, vol. 31, No. 8, Aug. 1988), pp. 996-1007, by Douglas W. Jones.
- Sleator et al., "Self Adjusting Binary Search Trees", Journal of the Association for Computing Machinery, vol. 32, No. 3, Jul. 1985, New Jersey, pp. 652-686.