Academia.eduAcademia.edu

Performance of Complete and Nearly Complete Binary Search Trees

Abstract

Binary Search Trees are frequently used data structure for rapid access to the stored data. Data structures like arrays, vectors and linked lists are limited by the trade-off between the ability to perform a fast search and resize easily. They are an alternative that is both dynamic in size and easily searchable. This paper addresses the performance analysis and measurement, collectively known as the Performance in complete and nearly complete binary search trees. Performance measurement in complete and nearly complete binary search trees is equally important aside from performance analysis to learn deviation from the optimality. To estimate this deviation, new performance criteria are introduced. A multi-key search algorithm is proposed and the related analysis has followed. The algorithm is capable of searching for multiple key elements in the same execution. This helps in pruning a subtree structure out of a given tree for further processing.