preprint
وصول مفتوح
Sorting Lists with Equal Keys Using Mergesort in Linear Time
Research footprint
At a glance
- الاستشهادات
- 0
- المراجع
- 8
- Comments
- 0
Paper overview
Abstract
This article introduces a new optimization method to improve mergesort's runtime complexity, when sorting sequences that have equal keys to $O(n log_2 k)$, where $k$ is the number of distinct keys in the sequence. When $k$ is constant, it is evident that mergesort is capable of achieving linear time by utilizing linked lists as its underlying data structure. Mergesort linked list implementations can be optimized by introducing a new mechanism to group elements with equal keys together, thus allowing merge algorithm to achieve linear time.
Record transparency
Publication details
- DOI
- 10.48550/arxiv.2012.08589
- OpenAlex
- W3112876550
- Document type
- preprint
- Language
- EN
- Source
- arXiv (Cornell University)
- Last metadata update
Comments
تسجيل الدخول للانضمام إلى النقاش.