English

Multi-Way Co-Ranking: Index-Space Partitioning of Sorted Sequences Without Merge

Data Structures and Algorithms 2025-10-28 v1

Abstract

We present a merge-free algorithm for multi-way co-ranking, the problem of computing cut indices i1,,imi_1,\dots,i_m that partition each of the mm sorted sequences such that all prefix segments together contain exactly KK elements. Our method extends two-list co-ranking to arbitrary mm, maintaining per-sequence bounds that converge to a consistent global frontier without performing any multi-way merge or value-space search. Rather, we apply binary search to \emph{index-space}. The algorithm runs in O(log(tnt)logm)O(\log(\sum_t n_t)\,\log m) time and O(m)O(m) space, independent of KK. We prove correctness via an exchange argument and discuss applications to distributed fractional knapsack, parallel merge partitioning, and multi-stream joins. Keywords: Co-ranking \sep partitioning \sep Merge-free algorithms \sep Index-space optimization \sep Selection and merging \sep Data structures

Keywords

Cite

@article{arxiv.2510.22882,
  title  = {Multi-Way Co-Ranking: Index-Space Partitioning of Sorted Sequences Without Merge},
  author = {Amit Joshi},
  journal= {arXiv preprint arXiv:2510.22882},
  year   = {2025}
}

Comments

4 pages