betaFeedback

WorksComputer Science

Dynamically optimal weight-balanced binary search trees

Abstract

In STOC 1972, J{ü}rg Nievergelt and Edward M.~Reingold introduced the BB[α]BB[α]-tree, also known as a weight-balanced tree, which for any α∈(0,12]α\in (0,\frac{1}{2}] is a binary search tree where every node with induced subtree size ss has children with induced subtree sizes at least α(s+1)−1α(s+1)-1. A new rotation-based binary search tree, the PopTree, is introduced. The PopTree stores nn elements and is a BB[120]BB[\tfrac1{20}]-tree after the execution of each search and a BB[1729]BB[\tfrac1{729}]-tree at all times, notably while rebalancing. For any constant αα, its performance on search sequences of length Ω(nlog⁡n)Ω(n \log n) is proved to be within a constant factor (which can depend on αα) of the optimal offline rotation-based binary search tree that maintains the BB[α]BB[α] balance invariant.

Introduction

The dynamic optimality conjecture for general rotation-based binary search trees (BST) [36] posits that there exists an online rotation-based BST algorithm whose performance is within a constant factor of the optimal offline BST algorithm for every sufficiently long sequence; i.e., there exists a O(1)O(1)-competitive rotation-based BST. This conjecture has received much attention with numerous partial results, for example [Wil89, WDS06, DHIP07, Iac13, Mun00, DHI+09, Fox11, DILO13, CGK+15b, CGK+15c, CGK+15a, CGK+18, CCS20, LT19, IL16, CGJ+23, CHH+26, CGJ+24].

In addition to the non-constant competitive ratio results [WDS06, DHIP07, LT19, CHH+26], the failure to obtain dynamic optimality has resulted in the study of adaptive, or beyond-worst-case analysis of general binary search trees to determine which kind of patterns in search sequences can be taken advantage of, and which can not, which has given rise to the study of closed-form bounds including the working set bound [36, 20], the sequential access bound [22 CGK+15a], the dynamic finger bound and weighted dynamic finger bound [27], the unified bound [26, 20], and bounds for pattern-avoiding sequences [11, 13, 9, 10].

This procession of bounds gives some the hope that improving these explicit bounds might lead to a tight bound matching the lower bounds, which so far have been limited to the decades-old bounds of Wilber [Wil89, CCS20] and the perhaps-equivalent independent rectangle bounds [17].

However, such rich and intensive study is almost entirely absent from balanced binary search trees, which given their ubiquitousness and the undoubted practical importance of maintaining a logarithmic worst-case running time, is surprising.

This work is meant to be a starting point in answering questions of the form: “Given binary search trees obeying some balance invariant, can you characterize the best rotation-based BSTs that maintain that invariant from the perspective of competitive ratio, dynamic optimality, or beyond worst case bounds?” We emphasize that our view here is to maintain the invariants of balanced BSTs while ignoring the classical update methods, instead allowing any rotation-based implementation of the operations that maintains the balance invariant. In this paper, we look at the class BB[α]BB[\alpha] trees, as balance is their explicit invariant. In doing so we develop a closed-form expression with matching upper and lower bounds which completely characterizes the asymptotic dynamically optimal running time of BB[α]BB[\alpha]-trees. Unsurprisingly, our dynamic optimality characterization shows that there are many classes of sequences for which balanced BSTs are slower than optimal general BSTs, but this is of course useful information telling you when staying in the class of BB[α]BB[\alpha]-trees is sufficient and when for performance reasons you must leave it. What is more surprising is the explicit bound for dynamically optimal BB[α]BB[\alpha]-trees is not one of the extant BST bounds but rather something new.

The BB[α]BB[\alpha]-tree. The BB[α]BB[\alpha]-tree is a type of weight-balanced binary search tree (BST) introduced by Jürg Nievergelt and Edward M. Reingold [33]. We begin with their definition:

Definition 1. Definition of a BB[α]BB[\alpha]-tree. Let Δ(x)\Delta(x) be the size of the subtree induced at node xx in a BST and define the weight of a node xx, w(x)w(x), to be Δ(x)+1\Delta(x)+1. Let α\alpha be a constant in the range (0,12](0, \frac{1}{2}] and let β:=1−α\beta:= 1-\alpha. A BB[α]BB[\alpha]-Tree is a binary search tree which for all nodes xx with parent yy:

αw(y)≤w(x)≤βw(y).\alpha w(y) \le w(x) \le\beta w(y).

A missing child has a subtree size of zero and is thus treated as having weight one.

The reason for using weight instead of subtree size is that even small examples, such as a two-node BST, would not meet such a definition. However, with weights, a two-node tree is a BB[13]BB[\frac{1}{3}]-tree since the root has weight 3 and the missing child of the root has weight 1. It was shown that no BSTs are BB[α]BB[\alpha]-trees for 13<α≤12\frac{1}{3}<\alpha\le\frac{1}{2} except perfectly-balanced BSTs which are BB[12]BB[\frac{1}{2}]-trees [33]. One nice side effect of weight is that the weight of a node is the sum of the weights of its children. The class of BB[α]BB[\alpha] trees does have its limitations. It is easy to see that a length-mm repeated sequential access on a tree with nn items takes time Θ(mlog⁡n)\Theta(m\log n) on any BB[α]BB[\alpha] tree, while on splay trees they take O(m)O(m) time [37].

We completely characterize the asymptotic running time of the offline optimal BB[α]BB[\alpha] trees with rotation up to constant factors for sufficiently long sequences of searches. We present a new BST, the PopTree, which is a BB[1729]BB[\frac{1}{729}]-tree whose performance is proved to be within a constant factor of the optimal offline rotation-based BB[α]BB[\alpha]-tree for any constant α∈(0,12]\alpha\in(0,\frac{1}{2}] and a sufficiently long sequence of searches.

The model. Before presenting this characterization, we define precisely what we mean by a rotation-based BB[α]BB[\alpha] algorithm, which we will henceforth call a BB[α]BB[\alpha]-algorithm, following the standard formalization of rotation-based BSTs with the addition of the BB[α]BB[\alpha] balance invariant.

As we do not consider insertions or deletions, we assume that the BST stores the integers from 1 to nn. The BB[α]BB[\alpha] algorithm executes a sequence of searches X=⟨x1,x2,…,xm⟩X=\langle x_1,x_2,\ldots,x_m\rangle, each of which is an item of [n][n]. The BST algorithm has a single pointer, which at unit cost begins each search at the root and at unit cost can move the pointer to the parent, left child, or right child, or it can perform a single rotation involving the node pointed to and the parent of the node pointed to. Any computational time or data stored to determine which unit-cost computations are to be performed are not counted, and an algorithm in the model is free to be offline and make its choices as any function of the entire search sequence. To execute the search for xix_i, the algorithm performs any sequence of unit cost operations provided that (i) the pointer at some point touches the node containing xix_i and (ii) the tree is a valid BB[α]BB[\alpha] at all times during the execution. Each BST algorithm may require an initial starting tree or a class of allowable starting trees.

The optimal running time. Let the set notFirst be all ii such that xix_i is not the first search of that item. Let the previous search at time ii and range rr, prev⁡i(r)\operatorname{prev}_i(r), be defined for any i∈notFirsti \in\text{notFirst} to be

prev⁡i(r):=max⁡{j∈[i−1]∣xj∈[xi−r,xi+r]}.\operatorname{prev}_i(r) := \max\{j \in[i-1] \mid x_j \in[x_i-r,x_i+r]\}.

Intuitively, this is the time of the most recent search before xix_i with an item within a range ±r\pm r from xix_i. As xix_i was searched before, prev⁡i(r)\operatorname{prev}_i(r) is well-defined as it will return the time of the previous search to xix_i if no other item within the range ±r\pm r from xix_i was searched between the time of xix_i’s previous search and ii.

We now define our optimal running time for a search sequence XX:

OPT(X):=∑i∈notFirst(log⁡min⁡{r≥1∣xprev⁡i(r)=xi}+log⁡nmin⁡(xi,n−xi+1))(1)OPT(X) := \sum_{i \in\text{notFirst}} \left(\log\min\{r \ge1 \mid x_{\operatorname{prev}_i(r)} = x_i\} + \log\frac{n}{\min(x_i,n-x_i+1)}\right) \tag*{(1)}

Lower bound. Our main lower bound result shows that any BB[α]BB[\alpha] algorithm, including offline algorithms, has a running time of Ω(OPT(X))\Omega(OPT(X)), where the constant in the Ω\Omega depends on α\alpha. Our upper bound is the presentation of the PopTree data structure, which is an online BB[1729]BB[\frac{1}{729}]-algorithm and whose running time is O(OPT(X))O(OPT(X)) for sequences of length Ω(nlog⁡n)\Omega(n \log n). Together, they show that (1) is the complete asymptotic characterization of the running time of optimal BB[α]BB[\alpha] algorithms, and that our PopTree data structure is O(1)O(1)-competitive with the optimal offline algorithm, otherwise known as being dynamically optimal.

We provide some intuition for (1). One simple observation is that not every item in a BB[α]BB[\alpha] tree can be the root, which implies that the closer an item is to the minimum or maximum, the deeper it must be in the tree. This is formalized in Lemma 3 and is responsible for the second term in (1). For the first term, observe that in a BB[α]BB[\alpha]-tree, given two items with consecutive key values, one of them must be at logarithmic depth. By generalizing this observation to items whose keys are rr apart, one gets that one of them must be at depth Ω(log⁡nr)\Omega(\log\frac{n}{r}) (Lemma 5). So, to execute a search on some item xx in time o(log⁡nr)o(\log\frac{n}{r}) will be problematic if there was some item x′x' with ∣x−x′∣≤r|x-x'| \le r searched recently. Getting the accounting to work for this case is tricky and requires a charging argument. Such an argument is needed because at the time xx is searched, xx could be shallow and thus cheap to search, and x′x' depth would be Ω(log⁡nr)\Omega(\log\frac{n}{r}), which superficially is not a problem but gives hints of contours of the charging scheme we develop.

Our OPTOPT formula is new and, in some ways, the inverse of the bounds known for general rotation-based BSTs. For such BSTs, the bounds usually capture the concepts of spatial locality (sequential access [37], dynamic finger [CMS00, Col00]) and temporal locality (working set bound [36]) and were combined in the unified bound [24 BCDI07]. The unified bound says that a search is fast if it is close (in key-space) to something that was searched recently. Compare this to our OPTOPT bound, which intuitively says that a search is fast if nothing close (in key-space) was searched recently (since the previous search of the item). It is fascinating that arbitrary BSTs reward locality in key-space while weight-balanced BSTs punish it!

Upper bound. Our PopTree data structure is presented first as a type of skip list [34], where each level has invariants that imply the minimum and maximum number of keys that can be spanned between items. This contrasts with the typical skip list’s concern with bounding between two items, and with the number of items one level down. We also have carefully crafted invariants that result in recently searched items being closer to the top of the list if possible, but where the converse does not hold, thus allowing a certain flexibility in restructuring. We promote (pop!) the searched item to the top level of the skip list and then do a series of promotions and demotions to restore the invariants of the structure. We convert the skip list to a BST structure via the intermediate step of a B-tree. See Figure 1 for an illustration of a SkipPopTree and the conversion process to a BST via the intermediate step of a B-tree. This conversion process is largely standard, and our invariants are designed to show easily that the resulting BST is a BB[1729]BB[\frac{1}{729}]-tree at all times and a BB[120]BB[\frac{1}{20}]-tree after the completion of any operation. The α=1729\alpha= \frac{1}{729} is only needed during transient states in the middle of an execution, but it serves to show that the BB[α]BB[\alpha] invariant can be maintained at all times, which matches what we require in our lower bound.

From a SkipPopList to a weight-balanced BST, on one instance

Figure 1. (a) The SkipPopList on n=34=81n = 3^4 = 81 keys. The buckets are defined based on powers of three. Extreme buckets must be empty, occupied buckets cannot be adjacent, and three vacant buckets in a row are prohibited. (b) The PopBTree obtained from (a): each maximal run of consecutive top items of a level forms one node. (c) The PopTree (BST): the right-chain expansion of (b), with each former node shown as a shaded oval. Figure 1: From a SkipPopList to a weight-balanced BST, on one instance. Legend: occupied bucket; vacant bucket; extreme bucket; stored item.

Key-independent optimality. In [25], Iacono introduced the notion of key-independent optimality. Given a search sequence XX and a random bijection f:[n]↦[n]f : [n] \mapsto[n], let f(X)=⟨f(x1),f(x2),…,f(xm)⟩f(X) = \langle f(x_1), f(x_2), \ldots, f(x_m) \rangle. The intuitive idea is that if we do not expect any correlations in our data based on proximate key values, for example, if key values are some sort of randomly assigned ID, the distributional properties of XX and f(X)f(X) should not differ. In [25] it was shown that the expected value of executing f(X)f(X) on the offline optimal BST with rotations was asymptotically the same as what is known as the working set property. As splay trees were shown to have the working set property [36], this showed the existence of a BST that, given any sequence f(X)f(X), executes the sequence in time asymptotically the same as the best offline optimal. Such structures were called key-independently optimal. We show in § 5 that in expectation OPT(f(X))OPT(f(X)) is asymptotically equal to the working-set bound. Thus, we show our PopTree is key-independently optimal and more significantly show that BB[α]BB[\alpha] trees, while much more restricted than general rotation-based BSTs, are all that is needed in the key-independently optimal setting.

Related work

Weight-balanced trees. The BB[α]BB[\alpha]-tree, or weight-balanced tree, was introduced by Nievergelt and Reingold [33], who proposed maintaining balance by subtree weight rather than by height, achieving logarithmic search and update times using single and double rotations. Most subsequent work on the structure has concerned not new algorithmic capabilities but the correct choice of the balance parameter and of the rebalancing rules. Blum and Mehlhorn [6] identified an error in the original analysis, established the admissible parameter range, and proved that the amortized number of rebalancing operations per update is constant. Lai and Wood [30] gave a top-down rebalancing procedure. The definitive treatment of the parameter question was given by Hirai and Yamamoto [23], who precisely characterized the valid parameter space and formally verified the rotation conditions in the Coq proof assistant, showing that the rules as originally stated fail for some parameters previously believed valid. Weight-balanced trees found renewed relevance in functional programming through the variant of Adams [1], which underlies the standard persistent set and map libraries of several functional languages. Recently Jugé [28] introduced a relaxation in which the weight condition is imposed between nodes and their grandchildren. In all of this work, the object of study is the maintenance of the invariant itself. The question we ask here: the best running time achievable by any sequence of rotations preserving the invariant appears not to have been studied.

Dynamic optimality for binary search trees. Sleator and Tarjan [36] introduced splay trees and conjectured that they are O(1)O(1)-competitive with the optimal offline rotation-based BST. This dynamic optimality conjecture remains open, the best known competitive ratio for any BST is the O(log⁡log⁡n)O(\log\log n) of tango trees [DHI+07]. See [26] for a survey. Our result can be read as a resolution of the dynamic optimality question for the class of BST algorithms that maintain the BB[α]BB[\alpha] invariant.

Dynamically optimal skip lists and B-trees. The work closest in spirit to ours is that of Bose, Douïeb, and Langerman [BDL08] on dynamic optimality for skip lists and B-trees. They showed that for skip lists satisfying a weak balancing property, the working-set bound is a lower bound on the cost of executing any search sequence. They constructed a deterministic self-adjusting skip list, which promotes each searched item to the topmost level and then restores the balancing property, whose cost matches the bound. The structure is therefore dynamically optimal within its class, with consequences for (a,b)(a,b)-trees, B-trees, and their BST encodings via standard dualities [21]. Their result and ours exhibit the same phenomenon: while dynamic optimality for unrestricted rotation-based BSTs remains open, imposing a balance invariant on the class of structures collapses the offline optimum to an explicit formula that a concrete online structure can match. Indeed, our PopTree takes direct inspiration from their promotion-based structures: it too pops the searched item to the top level of a skip-list representation and repairs its invariants with promotions and demotions. The two characterizations, however, are strikingly different. For balanced skip lists, the optimum is the working-set bound, which is well known from the analysis of splay trees and which rewards temporal locality, recently searched items are cheap. For BB[α]BB[\alpha]-trees, the optimum instead punishes proximity in key space. A search is cheap only if nothing nearby was searched recently, and includes a term forcing items near the minimum or maximum key to be expensive. We further note that in the unrestricted B-tree model, where no balance condition is imposed, only O(log⁡log⁡n)O(\log\log n)-competitiveness is known [DIKL21], reinforcing that it is the balance restriction that makes full dynamic optimality tractable.

Distribution-sensitive balanced structures. A parallel line of work asks not for the offline optimum but for specific distribution-sensitive bounds achievable while maintaining balance. Bent, Sleator, and Tarjan [7] introduced biased search trees, a weight-balanced structure whose access time is O(1+log⁡(W/wi))O(1+\log(W/w_i)) for an item of weight wiw_i in a tree of total weight WW. Bagchi, Buchsbaum, and Goodrich [2] gave a skip-list counterpart, including a deterministic worst-case variant. Closer to the self-adjusting setting, Bose, Douïeb, Dujmović, and Howat [BDDH12] constructed a height-balanced BST that attains the working-set bound in the worst case and the unified bound amortized, and Martel [31], and Sherk [35] studied self-adjusting multiway and kk-ary trees. In each case, a balance invariant is retained, and a fixed runtime goal (weighted, working-set, or unified) is matched. None characterizes, as we do, the offline optimum over all rotation sequences preserving the invariant.

Organization of the paper. In § 2 we prove the lower bound: every BB[α]BB[\alpha]-algorithm, online or offline, requires time Ω(OPT(X))\Omega(OPT(X)) to execute any search sequence XX, where the constant depends on α\alpha. § 3 contains the matching upper bound. We first present the SkipPopList, a skip list with occupancy invariants that tie recently searched items to the top levels, and show that it executes any search sequence of length Ω(nlog⁡n)\Omega(n\log n) in time O(OPT(X))O(OPT(X)) in the skip list cost model. Section A transforms the SkipPopList into weight-balanced multiway search tree, the PopBTree, and Section B transforms the PopBTree into our final structure, the PopTree, a BST maintained by single rotations that is a BB[12]BB[\frac{1}{2}]-tree after every search, a BB[1729]BB[\frac{1}{729}]-tree after every unit-cost operation, and runs in time O(OPT(X))O(OPT(X)). § 5 we show that the expectation OPTOPT of a search sequence under a random bijection of the keys equals the working-set bound, establishing that PopTrees are key-independently optimal. We note that the two transformations are placed in the appendix to reflect that these are basically standard transformations, albeit ones where the balance factor needs to be carefully propagated. Our SkipPopList was designed to have these transformations be intuitive. As noted in the acknowledgments, this cleanly separates the paper into the entirely human conceived and written main body of the paper, and the machine written but human edited and verified grind of the two transformations in the appendices which we feel most readers would find believable after looking at Figure 1.

Lower Bound

This section is about BB[α]BB[\alpha]-trees that store the integers in [n][n] and are executing a sequence of mm searches X=⟨x1,x2,…,xm⟩X = \langle x_1, x_2, \ldots, x_m\rangle to items in [n][n].

Depth lemmas

We begin by proving some easy lemmas about the depth of items in a BB[α]BB[\alpha]-tree. The depth of a node xx in a BST, d(x)d(x), is the length of the path from the root to xx. By repeatedly applying the balance condition in Definition 1 we obtain:

Lemma 2. Weights and depths.

log⁡1αn+1w(x)≤d(x)≤log⁡1βn+1w(x)\log_{\frac{1}{\alpha}} \frac{n+1}{w(x)} \le d(x) \le\log_{\frac{1}{\beta}} \frac{n+1}{w(x)}

The same bounds hold when xx is a missing child treated as a weight-one node, per Definition 1.

References

  1. [1]Stephen Adams. Efficient sets - A balancing act. J. Funct. Program., 3(4):553–561, 1993.DOI
  2. [2]Amitabha Bagchi, Adam L. Buchsbaum, and Michael T. Goodrich. Biased skip lists. Algorithmica, 42(1):31–48, 2005.
  3. [6]Norbert Blum and Kurt Mehlhorn. On the average number of rebalancing operations in weight-balanced trees. Theor. Comput. Sci., 11(3):303–320, 1980.DOI
  4. [7]Samuel W. Bent, Daniel Dominic Sleator, and Robert Endre Tarjan. Biased search trees. SIAM J. Comput., 14(3):545–568, 1985.DOI
  5. [9]Parinya Chalermsook, Manoj Gupta, Wanchote Jiamjitrak, Nidia Obscura Acosta, Akash Pareek, and Sorrachai Yingchareonthawornchai. Improved pattern-avoidance bounds for greedy bst s via matrix decomposition. In Nikhil Bansal and Viswanath Nagarajan, editors, Proceedings of the 2023 ACM-SIAM Symposium on Discrete Algorithms, SODA 2023, Florence, Italy, January 22-25, 2023, pages 509–534. SIAM, 2023.arxiv.org/abs/2211.04112
  6. [10]Parinya Chalermsook, Manoj Gupta, Wanchote Jiamjitrak, Akash Pareek, and Sorrachai Yingchareonthawornchai. The group access bounds for binary search trees. In Karl Bringmann, Martin Grohe, Gabriele Puppis, and Ola Svensson, editors, 51st International Colloquium on Automata, Languages, and Programming, ICALP 2024, Tallinn, Estonia, July 8-12, 2024, volume 297 of LIPIcs, pages 38:1–38:18. Schloss Dagstuhl - Leibniz-Zentrum für Informatik, 2024.arxiv.org/abs/2312.15426
  7. [11]Parinya Chalermsŏok, Mayank Goswami, László Kozma, Kurt Mehlhorn, and Thatchaphol Saranurak. Pattern-avoiding access in binary search trees. In IEEE 56th Annual Symposium on Foundations of Computer Science, FOCS 2015, Berkeley, CA, USA, 17-20 October, 2015, pages 410–423. IEEE Computer Society, 2015.arxiv.org/abs/1507.06953
  8. [13]Parinya Chalermsŏok, Mayank Goswami, László Kozma, Kurt Mehlhorn, and Thatchaphol Saranurak. Multi-finger binary search trees. In 29th International Symposium on Algorithms and Computation, ISAAC 2018, Jiaoxi, Yilan, Taiwan, December 16-19, 2018, pages 55:1–55:26. Schloss Dagstuhl - Leibniz-Zentrum für Informatik, 2018.arxiv.org/abs/1809.01759
  9. [17]Erik D. Demaine, Dion Harmon, John Iacono, Daniel Kane, and Mihai Pătrașcu. The geometry of binary search trees. In Proceedings of the Twentieth Annual ACM-SIAM Symposium on Discrete Algorithms, SODA 2009, New York, NY, USA, January 4-6, 2009, pages 496–505. SIAM, 2009.
  10. [20]Erik D. Demaine, John Iacono, Stefan Langerman, and Özgür Özkan. Combining binary search trees. In Automata, Languages, and Programming - 40th International Colloquium, ICALP 2013, Riga, Latvia, July 8-12, 2013, Proceedings, Part I, pages 388–399. Springer, 2013.
  11. [21]Brian C. Dean and Zachary H. Jones. Exploring the duality between skip lists and binary search trees. In Proceedings of the 45th Annual Southeast Regional Conference, 2007, Winston-Salem, North Carolina, USA, March 23-24, 2007, pages 395–399. ACM, 2007.DOI
  12. [22]Kyle Fox. Upper bounds for maximally greedy binary search trees. In Algorithms and Data Structures - 12th International Symposium, WADS 2011, New York, NY, USA, August 15-17, 2011. Proceedings, pages 411–422. Springer, 2011.arxiv.org/abs/1102.4884
  13. [23]Yoichi Hirai and Kazuhiko Yamamoto. Balancing weight-balanced trees. J. Funct. Program., 21(3):287–307, 2011.DOI
  14. [24]John Iacono. Alternatives to splay trees with o(log n) worst-case access times. In Proceedings of the Twelfth Annual Symposium on Discrete Algorithms, January 7-9, 2001, Washington, DC, USA, pages 516–522. ACM/SIAM, 2001.DOI
  15. [25]John Iacono. Key-independent optimality. Algorithmica, 42(1):3–10, 2005.
  16. [26]John Iacono. In pursuit of the dynamic optimality conjecture. In Space-Efficient Data Structures, Streams, and Algorithms - Papers in Honor of J. Ian Munro on the Occasion of His 66th Birthday, volume 8066 of Lecture Notes in Computer Science, pages 236–250. Springer, 2013.arxiv.org/abs/1306.0207
  17. [27]John Iacono and Stefan Langerman. Weighted dynamic finger in binary search trees. In Robert Krauthgamer, editor, Proceedings of the Twenty-Seventh Annual ACM-SIAM Symposium on Discrete Algorithms, SODA 2016, Arlington, VA, USA, January 10-12, 2016, pages 672–691. SIAM, 2016.
  18. [28]Vincent Jugé. Grandchildren-weight-balanced binary search trees. In Pat Morin and Eunjin Oh, editors, 19th International Symposium on Algorithms and Data Structures, WADS 2025, York University, Toronto, Canada, August 11-15, 2025, volume 349 of LIPIcs, pages 40:1–40:19. Schloss Dagstuhl - Leibniz-Zentrum für Informatik, 2025.DOI
  19. [30]Tony W. Lai and Derick Wood. A top-down updating algorithm for weight-balanced trees. Int. J. Found. Comput. Sci., 4(4):309–324, 1993.
  20. [31]Charles U. Martel. Self-adjusting multi-way search trees. Inf. Process. Lett., 38(3):135–141, 1991.DOI
  21. [33]Jürg Nievergelt and Edward M. Reingold. Binary search trees of bounded balance. SIAM J. Comput., 2(1):33–43, 1973.
  22. [34]William W. Pugh. Skip lists: A probabilistic alternative to balanced trees. Commun. ACM, 33(6):668–676, 1990.
  23. [35]Murray Sherk. Self-adjusting k-ary search trees. J. Algorithms, 19(1):25–44, 1995.
  24. [36]Daniel Dominic Sleator and Robert Endre Tarjan. Self-adjusting binary search trees. J. ACM, 32(3):652–686, 1985.DOI
  25. [37]Robert Endre Tarjan. Sequential access in splay trees takes linear time. Comb., 5(4):367–378, 1985.

Paper details

vlnc:W_eunj2y9r
Version
v1 · latest
Published
Added
License
CC BY 4.0
Usage

views · 0

downloads · 0

A view counts once per browser per day, a download each time the PDF is requested.

  • Computer Science

Claude Fable, Opus

View statement
Looking for related papers…
Contents