On a question on graphs with rainbow connection number 2
arXiv:1109.5004
Abstract
For a connected graph , the \emph{rainbow connection number } of a graph 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 with diameter 2, to determine 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 for which we are told that . Can we rainbow-color it in polynomial time with colors ? In this paper, we settle down this question by showing a stronger result that for any graph with , we can rainbow-color in polynomial time by at most 5 colors.
5 pages