{"title":"Experimental Comparison of Array-based and Linked-based List Implementations","authors":"Michal Mrena, Michal Varga, M. Kvassay","doi":"10.1109/Informatics57926.2022.10083495","DOIUrl":null,"url":null,"abstract":"Lists are one of the most often used containers in practice. They provide an easy way to store and access elements of arbitrary type. The list is suitable for a wide range of use cases including problems that involve the processing of a considerably high number of elements. Such situations are common in, for example, medical databases or in reliability analysis tools. There exist two principal approaches to the implementation of the list. One is based on the use of an array and the other one on the use of linked nodes. The question of which implementation to use often raises heated debates amongst scholars and programmers. The paper aims to compare the standard implementations in scenarios testing basic list operations. Also, the paper presents how we use similar scenarios to teach computational complexities and data structures comparison within the course of Algorithms and Data Structures at the Faculty of Management Science and Informatics of University of Zilina.","PeriodicalId":101488,"journal":{"name":"2022 IEEE 16th International Scientific Conference on Informatics (Informatics)","volume":"57 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2022-11-23","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2022 IEEE 16th International Scientific Conference on Informatics (Informatics)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/Informatics57926.2022.10083495","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0
Abstract
Lists are one of the most often used containers in practice. They provide an easy way to store and access elements of arbitrary type. The list is suitable for a wide range of use cases including problems that involve the processing of a considerably high number of elements. Such situations are common in, for example, medical databases or in reliability analysis tools. There exist two principal approaches to the implementation of the list. One is based on the use of an array and the other one on the use of linked nodes. The question of which implementation to use often raises heated debates amongst scholars and programmers. The paper aims to compare the standard implementations in scenarios testing basic list operations. Also, the paper presents how we use similar scenarios to teach computational complexities and data structures comparison within the course of Algorithms and Data Structures at the Faculty of Management Science and Informatics of University of Zilina.