We gratefully acknowledge support from
the Simons Foundation and member institutions.
Full-text links:

Download:

Current browse context:

cs.DS

Change to browse by:

References & Citations

DBLP - CS Bibliography

Bookmark

(what is this?)
CiteULike logo BibSonomy logo Mendeley logo del.icio.us logo Digg logo Reddit logo

Computer Science > Data Structures and Algorithms

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

Abstract: 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 {\sc MergeSort} since we modify our fixed graph only.
Comments: 18 pages, 0 figures. Keywords: graph algorithms; topological sort; sorting algorithms; comparison graphs
Subjects: Data Structures and Algorithms (cs.DS); Discrete Mathematics (cs.DM)
Cite as: arXiv:2009.00098 [cs.DS]
  (or arXiv:2009.00098v1 [cs.DS] for this version)

Submission history

From: Balaram Behera [view email]
[v1] Mon, 31 Aug 2020 21:04:16 GMT (30kb,D)

Link back to: arXiv, form interface, contact.