arXiv:2610.12438cs.DSOct 2026

Manuscript Offprint

arXiv:2610.12438

Parallel Edge Ranking of Trees

Jeff Giliberti, MohammadTaghi Hajiaghayi, Changki Yun

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

In this work, we prove that computing the edge ranking of a tree in parallel is P-Complete. An optimal tree edge ranking assigns positive integer ranks to the edges such that any two edges with the same rank are separated by an edge of higher rank, while minimizing the highest rank. Tree edge ranking abstracts several classical problems such as parallel assembly in manufacturing, minimum-height dendrograms, reversible pebble game and edge-query binary search on trees. Its parallel complexity remained open for over thirty years, since the seminal work of de la Torre, Greenlaw, and Schäffer [SODA'93], and was listed as an open problem in the book Limits to Parallel Computation by Greenlaw, Hoover, and Ruzzo [1995]. We prove that deciding whether a tree has edge ranking at most K is P-Complete, already for trees of diameter six. Our reduction is from NOR-CVP and simulates a greedy procedure underlying known sequential approaches.

Despite ruling out NC algorithms, we prove that this hardness barrier can be bypassed in the well-known model of Massively Parallel Computation (MPC) with strongly sublinear local memory, showing that O(log⁡n)O(\log n) MPC rounds suffice to solve the hard tree-edge ranking instances used to prove P-Completeness. Specifically, we present a deterministic MPC algorithm that computes an optimal edge ranking of an n-vertex tree of diameter DD in O(log⁡D+log⁡log⁡n)O(\log D + \log \log n) rounds with O(n3/4D1/4)O(n^{3/4}D^{1/4}) local memory. Our algorithm circumvents the linear-memory barrier by compressing the information required to produce a lexicographically minimal ranking from subtree merges. Overall, this result reinforces the strict separation between NC and what can be computed efficiently in MPC.

Contents

1 Introduction 2
2 Preliminaries 7
3 Edge ranking of trees is P-complete 11
4 An MPC algorithm 21

References (47)