首页    期刊浏览 2024年09月15日 星期日
登录注册

文章基本信息

  • 标题:EVALUATING THE REVERSING DATA STRUCTURE ALGORITHM OF LINKED LIST
  • 本地全文:下载
  • 作者:Rwan F. Al-Rashed ; Atheer S. Al-Mutiri ; Wadha M. Al-Marrai
  • 期刊名称:Indian Journal of Computer Science and Engineering
  • 印刷版ISSN:2231-3850
  • 电子版ISSN:0976-5166
  • 出版年度:2020
  • 卷号:11
  • 期号:1
  • 页码:57-65
  • DOI:10.21817/indjcse/2020/v11i1/201101070
  • 出版社:Engg Journals Publications
  • 摘要:Rapid development has enabled the production of advanced and important data structures in theprogramming world, and one of the most important structures of it is "single linked list", that have manyfeatures and advantages but it has some problems. One of these problems reversing data in it. Through ouraspirations for previous studies, we found that this problem has two ways to solve, namely "Recursion andIteration", but was our basic goal in this research comparing between these two ways, who is better? Whois way are more efficient?. One of the most common results we found in is: iteration is simpler and lesscomplex than the recursion method, but recursive of the codes we created, we found that they give betterresults and fewer lines, though its main idea more complex than iteration, and by mathematical analysis ofresults: lines of codes in iteration 46 but in recursive, there is no big difference 44, Effective line of code inrecursive 36 but in iteration was 38, and logical line of code in iteration 30 but in recursive 28, total cyclocomplexity in all of them: 6, total function complex in recursive equals 16 but in iteration equals 14.
  • 关键词:data structure; single linked list; recursion; iteration; reversing ways
国家哲学社会科学文献中心版权所有