Title :
An improved algorithm to maintain the Binary Search Tree dynamically
Author :
Inayat-ur-Rehman ; Mehta, Zeeshan ; Elahi, Muhammad Adnan ; ur Rehman Khan, Saif
Author_Institution :
Dept. of Comput. Sci., COMSATS Inst. of Inf. Technol., Islamabad, Pakistan
Abstract :
Binary Search Tree (BST) is an acyclic graph that is widely used to arrange the data for optimal search. In order to maintain the binary search tree in optimal shape several algorithms have been proposed. A recently proposed technique [1] applies single and double rotations to balance the binary search tree. However, due to double rotation it takes almost double time as compared to single rotation; ultimately increasing the demand for memory and processor. In this paper we propose a new technique which solves the double rotation problem in almost half of the steps of existing algorithm.
Keywords :
graph theory; tree data structures; acyclic graph; binary search tree; double rotation problem; noncyclic graph; optimal search; BST; Nonlinear Data Structures; Rotation;
Conference_Titel :
Multitopic Conference (INMIC), 2012 15th International
Conference_Location :
Islamabad
Print_ISBN :
978-1-4673-2249-2
DOI :
10.1109/INMIC.2012.6511462