An Efficient Algorithm for Sorting and Duplicate Elimination by Using Logarithmic Prime Numbers

Data structures such as sets, lists, and arrays are fundamental in mathematics and computer science, playing a crucial role in numerous real-life applications. These structures represent a variety of entities, including solutions, conditions, and objectives. In scenarios involving large datasets, eliminating duplicate elements is essential to reduce complexity and enhance performance. This paper introduces a novel algorithm that uses logarithmic prime numbers to efficiently sort data structures and remove duplicates. The algorithm is mathematically rigorous, ensuring correctness and providing a thorough analysis of its time complexity. To demonstrate its practicality and effectiveness, we compare our method with existing algorithms, highlighting its superior speed and accuracy. An extensive experimental analysis across one thousand random test problems shows that our approach significantly outperforms two alternative techniques from the literature. By discussing the potential applications of the proposed algorithm in various domains, including computer science, engineering, and data management, we illustrate its adaptability through two practical examples in which our algorithm solves the problem more than 3×104 and 7×104 times faster than the existing algorithms in the literature. The results of these examples demonstrate that the superiority of our algorithm becomes increasingly pronounced with larger problem sizes.

Authors

Institutions

Publication Details

Journal
Big Data and Cognitive Computing
Published
2024-08-23
DOI
https://doi.org/10.3390/bdcc8090096
Citations
4
Primary Topic
Numerical Methods and Algorithms
Type
article
Field-Weighted Citation Impact
1.45

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

An Efficient Algorithm for Sorting and Duplicate Elimination by Using Logarithmic Prime Numbers

Wei‐Chang Yeh, Majid Forghani-elahabad
4 citations
Big Data and Cognitive Computing
Numerical Methods and Algorithms
1.45
article

An Efficient Algorithm for Sorting and Duplicate Elimination by Using Logarithmic Prime Numbers

Wei‐Chang Yeh, Majid Forghani-elahabad
article en
4 citations

Abstract

Data structures such as sets, lists, and arrays are fundamental in mathematics and computer science, playing a crucial role in numerous real-life applications. These structures represent a variety of entities, including solutions, conditions, and objectives. In scenarios involving large datasets, eliminating duplicate elements is essential to reduce complexity and enhance performance. This paper introduces a novel algorithm that uses logarithmic prime numbers to efficiently sort data structures and remove duplicates. The algorithm is mathematically rigorous, ensuring correctness and providing a thorough analysis of its time complexity. To demonstrate its practicality and effectiveness, we compare our method with existing algorithms, highlighting its superior speed and accuracy. An extensive experimental analysis across one thousand random test problems shows that our approach significantly outperforms two alternative techniques from the literature. By discussing the potential applications of the proposed algorithm in various domains, including computer science, engineering, and data management, we illustrate its adaptability through two practical examples in which our algorithm solves the problem more than 3×104 and 7×104 times faster than the existing algorithms in the literature. The results of these examples demonstrate that the superiority of our algorithm becomes increasingly pronounced with larger problem sizes.

Big Data and Cognitive ComputingVol. 8(9)
National Tsing Hua University (TW), Universidade Federal do ABC (BR)
Fundação de Amparo à Pesquisa do Estado de São Paulo, National Tsing Hua University
Responsible consumption and production
Openalex Percentile: Top 16%
Numerical Methods and Algorithms
1.45
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.