ACM Home Page
Please provide us with feedback. Feedback
2D array implementation of sorted lists
Full text PdfPdf (333 KB)
Source ACM SIGCSE Bulletin archive
Volume 37 ,  Issue 2  (June 2005) table of contents
COLUMN: Reviewed papers table of contents
Pages: 36 - 40  
Year of Publication: 2005
ISSN:0097-8418
Author
Chenglie Hu  Carroll College, Waukesha, WI
Publisher
ACM  New York, NY, USA
Bibliometrics
Downloads (6 Weeks): 2,   Downloads (12 Months): 21,   Citation Count: 0
Additional Information:

abstract   references   index terms  

Tools and Actions: Review this Article  
DOI Bookmark: Use this link to bookmark this Article: http://doi.acm.org/10.1145/1083431.1083459
What is a DOI?

ABSTRACT

The ideas and key algorithms of a sorted list data structure based on a 2-dimensional (2D) array container are presented. It is shown that with an appropriately chosen number of rows, the efficiency of insertion and deletion is much improved compared to traditional approaches of using 1D arrays or linked structures. Yet, the binary search capability is retained. While such a data structure may deserve further exploration for its practical merit, its real value may well be in data structure classes, where the implementations and related issues provide sources for challenging projects. In addition, the implementation also provides a good example in understanding 2D arrays implemented as array of arrays in an object-oriented language.