Sorting an Array Using the Topological Sort of a Corresponding Comparison Graph

08/31/2020
by   Balaram Behera, et al.
0

The quest for efficient sorting is ongoing, and we will explore a graph-based stable sorting strategy, in particular employing comparison graphs. We use the topological sort to map the comparison graph to a linear domain, and we can manipulate our graph such that the resulting topological sort is the sorted array. By taking advantage of the many relations between Hamiltonian paths and topological sorts in comparison graphs, we design a Divide-and-Conquer algorithm that runs in the optimal O(n log n) time. In the process, we construct a new merge process for graphs with relevant invariant properties for our use. Furthermore, this method is more space-efficient than the famous MergeSort since we modify our fixed graph only.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
12/29/2017

Sorting Real Numbers in O(n√( n)) Time and Linear Space

We present an O(n√( n)) time and linear space algorithm for sorting real...
research
05/30/2019

Inducing the Lyndon Array

In this paper we propose a variant of the induced suffix sorting algorit...
research
11/14/2021

Stochastic and Worst-Case Generalized Sorting Revisited

The generalized sorting problem is a restricted version of standard comp...
research
12/01/2020

Huskysort

Much of the copious literature on the subject of sorting has concentrate...
research
06/24/2022

On the Optimisation of the GSACA Suffix Array Construction Algorithm

The suffix array is arguably one of the most important data structures i...
research
10/21/2017

BigSparse: High-performance external graph analytics

We present BigSparse, a fully external graph analytics system that picks...
research
10/18/2018

An Efficient Data Retrieval Parallel Reeb Graph Algorithm

The Reeb graph of a scalar function defined on a domain gives a topologi...

Please sign up or login with your details

Forgot password? Click here to reset