Publication Type : Journal Article
Publisher : International Journal of Recent Technology and Engineering (IJRTE)
Source : International Journal of Recent Technology and Engineering (IJRTE) , Volume 7, Issue 6 (2019)
Url : https://www.ijrte.org/wp-content/uploads/papers/v7i6/F2443037619.pdf
Campus : Kochi
School : School of Arts and Sciences
Department : Computer Science
Year : 2019
Abstract : The array and the linked list are two classic data structures. The array allows constant time random access (achieved in C language with the [] operator) but suffers from its fixed size and relative inflexibility (the latter becomes an issue while performing deletions). The linked list, on the other hand allows dynamic allocation of memory leading to greater flexibility (manifested in easy insertions and deletions) but suffers from slow search speed - O(N) . We describe a complete binary tree-based data structure which we call TREE LIST. It allows dynamic allocation of memory (hence free from many of the fixed size issues of the array) and provides random access with O(log N) complexity - which is an improvement over the linked list although not as fast as the array. We also discuss some other aspects of this data structure – in particular how it supports some of the classic sorting algorithms.
Cite this Research Publication : Sibin James, Pranav Prakash, and R. Nandakumar, “The TREE LIST – Introducing a Data Structure ”, International Journal of Recent Technology and Engineering (IJRTE) , vol. 7, no. 6, 2019.