English

On a question on graphs with rainbow connection number 2

Combinatorics 2011-09-27 v2

Abstract

For a connected graph GG, the \emph{rainbow connection number rc(G)rc(G)} of a graph GG was introduced by Chartrand et al. In "Chakraborty et al., Hardness and algorithms for rainbow connection, J. Combin. Optim. 21(2011), 330--347", Chakraborty et al. proved that for a graph GG with diameter 2, to determine rc(G)rc(G) is NP-Complete, and they left 4 open questions at the end, the last one of which is the following: Suppose that we are given a graph GG for which we are told that rc(G)=2rc(G)=2. Can we rainbow-color it in polynomial time with o(n)o(n) colors ? In this paper, we settle down this question by showing a stronger result that for any graph GG with rc(G)=2rc(G)=2, we can rainbow-color GG in polynomial time by at most 5 colors.

Keywords

Cite

@article{arxiv.1109.5004,
  title  = {On a question on graphs with rainbow connection number 2},
  author = {Jiuying Dong and Xueliang Li},
  journal= {arXiv preprint arXiv:1109.5004},
  year   = {2011}
}

Comments

5 pages

R2 v1 2026-06-21T19:09:12.217Z