NC

Maximal Path (MP)

Category: Network Flows

Input

An undirected graph $G = (V, E)$ with a numbering on the vertices in $V$ and a designated vertex $r$.

Problem

Find a maximal path originating from $r$.

Definition

A path is maximal if it cannot be extended without encountering a vertex already on the path.

Status

$\NC$ (Chatterjee, Ghosh, Gurjar, Raj, and Thierauf [1]).

Remarks

Anderson gave the first $\mathsf{RNC}$ algorithm for computing a maximal path [2]. Any root-to-leaf path in an undirected DFS tree rooted at $r$ is a maximal path from $r$; since undirected DFS $\NC$-reduces to bipartite matching (Aggarwal and Anderson [3]), the $\NC$ algorithm for bipartite matching [1] places MP in $\NC$. Lexicographically First Maximal Path (LFMP) is $\P$-complete even when restricted to planar graphs with maximum degree three. If the maximum degree of any vertex in $G$ is at most $\Delta$, there is an algorithm that can find a maximal path in $O(\Delta (\log n)^3)$ time using $n^2$ processors [4]. There is also an $\NC$ algorithm for finding a maximal path in planar graphs [4].

References

  1. A. Chatterjee, S. Ghosh, R. Gurjar, R. Raj, and T. Thierauf (2026). Bipartite Matching is in NC.
  2. R. J. Anderson (1987). A parallel algorithm for the maximal path problem.
  3. A. Aggarwal and R. J. Anderson (1988). A Random NC algorithm for depth first search.
  4. R. J. Anderson and E. W. Mayr (1987). Parallelism and the maximal path problem.
  5. Greenlaw, R., Hoover, H. J., and Ruzzo, W. L. (1995). Limits to Parallel Computation: P-Completeness Theory. Oxford University Press. Problem B.9.4.