arrow
Return

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

delete2024-08-23
delete1
delete
OA
AI
W
Wei‐Chang Yeh *
M
Majid Forghani-elahabad
DOI:10.3390/bdcc8090096delete
deleteOriginal
deleteOriginal request for help
deleteShare
deleteSave
Abstract

Abstract

En 中文
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 3x104 and 7x104 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.
Keywords:
efficient data sorting
duplicate elimination
logarithmic prime numbers
algorithm design
time complexity

Journal

B
Big Data and Cognitive Computing
IF:
4.4
Papers:
1.3K
Citations:
2.4K

Organization

N
National Tsing Hua University
Scholars:
1.6W
Papers: 1.4W
Citations: 1.7W
U
universidade federal do abc (ufabc)
Scholars:
3.5K
Papers: 3.3K
Citations: 1