Optimizing Heap Sort for Repeated Values: A Modified Approach to Improve Efficiency in Duplicate-Heavy Data Sets

Sorting algorithms are critical to various computer science applications, including database management, big data analytics, and real-time systems. While Heap Sort is a widely used comparison-based sorting algorithm, its efficiency significantly diminishes when dealing with data sets containing a high volume of duplicate values. To address this limitation, this paper introduces a modified Heap Sort algorithm optimized for duplicate-heavy data. The proposed modification detects and handles duplicate values more efficiently by reducing unnecessary comparisons and swaps at the root of the heap and restructuring the heap more strategically. Experimental results demonstrate that the modified Heap Sort achieves up to a 15% reduction in sorting time, a 30% decrease in the number of swaps, and a 10% reduction in comparisons when tested on data sets with varying levels of duplication. These improvements highlight the enhanced computational efficiency and scalability of the modified algorithm in duplicate-heavy data scenarios. This advancement offers significant potential for improving sorting performance in practical domains such as big data analytics, database operations, and real-time data processing.

Authors

Institutions

Publication Details

Journal
International Journal of Advanced Research in Computer Science
Published
2024-12-20
DOI
https://doi.org/10.26483/ijarcs.v15i6.7152
Citations
1
Primary Topic
Distributed systems and fault tolerance
Type
article
Field-Weighted Citation Impact
0.35
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Optimizing Heap Sort for Repeated Values: A Modified Approach to Improve Efficiency in Duplicate-Heavy Data Sets

Japheth Kodua Wiredu
1 citations
International Journal of Advanced Research in Computer Science
Distributed systems and fault tolerance
0.35
article

Optimizing Heap Sort for Repeated Values: A Modified Approach to Improve Efficiency in Duplicate-Heavy Data Sets

Japheth Kodua Wiredu
article en
1 citations

Abstract

Sorting algorithms are critical to various computer science applications, including database management, big data analytics, and real-time systems. While Heap Sort is a widely used comparison-based sorting algorithm, its efficiency significantly diminishes when dealing with data sets containing a high volume of duplicate values. To address this limitation, this paper introduces a modified Heap Sort algorithm optimized for duplicate-heavy data. The proposed modification detects and handles duplicate values more efficiently by reducing unnecessary comparisons and swaps at the root of the heap and restructuring the heap more strategically. Experimental results demonstrate that the modified Heap Sort achieves up to a 15% reduction in sorting time, a 30% decrease in the number of swaps, and a 10% reduction in comparisons when tested on data sets with varying levels of duplication. These improvements highlight the enhanced computational efficiency and scalability of the modified algorithm in duplicate-heavy data scenarios. This advancement offers significant potential for improving sorting performance in practical domains such as big data analytics, database operations, and real-time data processing.

International Journal of Advanced Research in Computer ScienceVol. 15(6)
Regent's University London (GB)
Openalex Percentile: Top 35%
Distributed systems and fault tolerance
0.35
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.