Inayat-ur-Rehman, Zeeshan Mehta, Manzoor Elahi, Saif Ur Rehman Khan
{"title":"An improved algorithm to maintain the Binary Search Tree dynamically","authors":"Inayat-ur-Rehman, Zeeshan Mehta, Manzoor Elahi, Saif Ur Rehman Khan","doi":"10.1109/INMIC.2012.6511462","DOIUrl":null,"url":null,"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.","PeriodicalId":396084,"journal":{"name":"2012 15th International Multitopic Conference (INMIC)","volume":"6 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2012-12-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2012 15th International Multitopic Conference (INMIC)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/INMIC.2012.6511462","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0
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.