English

Above-Guarantee Algorithm for Properly Colored Spanning Trees

Data Structures and Algorithms 2026-04-14 v1 Combinatorics

Abstract

In the Properly Colored Spanning Tree problem, we are given an edge-colored undirected graph and the goal is to find a spanning tree in which any two adjacent edges have distinct colors. Since finding such a tree is NP-hard in general, previous work often relied on minimum color degree conditions to guarantee the existence of properly colored spanning trees. While it is known that every connected edge-colored graph GG contains a properly colored tree of order at least min{V(G),2δc(G)}\min\{|V(G)|, 2\delta^c(G)\}, where δc(G)\delta^c(G) denotes the minimum number of colors incident to a vertex, we study the algorithmic above-guarantee problem for properly colored trees. We provide a polynomial-time algorithm that constructs a properly colored tree of order at least min{V(G),2δc(G)+1}\min\{|V(G)|, 2\delta^c(G)+1\} in a connected edge-colored graph GG, whenever such a tree exists.

Keywords

Cite

@article{arxiv.2604.11326,
  title  = {Above-Guarantee Algorithm for Properly Colored Spanning Trees},
  author = {Yuhang Bai and Kristóf Bérczi},
  journal= {arXiv preprint arXiv:2604.11326},
  year   = {2026}
}
R2 v1 2026-07-01T12:06:10.393Z