The Hidden Binary Search Tree:A Balanced Rotation-Free Search Tree in the AVL RAM Model

11/21/2017
by   Saulo Queiroz, et al.
0

In this paper we generalize the definition of "Search Trees" (ST) to enable reference values other than the key of prior inserted nodes. The idea builds on the assumption an n-node AVL (or Red-Black) requires to assure O(_2n) worst-case search time, namely, a single comparison between two keys takes constant time. This means the size of each key in bits is fixed to B=c_2 n (c≥1) once n is determined, otherwise the O(1)-time comparison assumption does not hold. Based on this we calculate ideal reference values from the mid-point of the interval 0..2^B. This idea follows `recursively' to assure each node along the search path is provided a reference value that guarantees an overall logarithmic time. Because the search tree property works only when keys are compared to reference values and these values are calculated only during searches, we term the data structure as the Hidden Binary Search Tree (HBST). We show elementary functions to maintain the HSBT height O(B)=O(_2n). This result requires no special order on the input -- as does BST -- nor self-balancing procedures, as do AVL and Red-Black.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
04/06/2018

Red-Black Trees with Constant Update Time

We show how a few modifications to the red-black trees allow for O(1) wo...
research
12/24/2019

Flat combined Red Black Trees

Flat combining is a concurrency threaded technique whereby one thread pe...
research
04/18/2021

Load-Balancing Succinct B Trees

We propose a B tree representation storing n keys, each of k bits, in ei...
research
10/09/2020

A Tale of Two Trees: New Analysis for AVL Tree and Binary Heap

In this paper, we provide new insights and analysis for the two elementa...
research
07/15/2019

Splaying Preorders and Postorders

Let T be a binary search tree. We prove two results about the behavior o...
research
06/13/2021

An efficient way to manage ranges of data with Wise Red-Black Trees

This paper describes the most efficient way to manage operations on rang...
research
08/11/2022

Poster: Revocation in VANETs Based on k-ary Huffman Trees

One of the biggest problems of vehicular ad-hoc networks is revocation. ...

Please sign up or login with your details

Forgot password? Click here to reset