An edge-colored graph G is rainbow connected if every two vertices are connected by a path whose edges have distinct colors. The rainbow connection number of a connected graph G, denoted by rcðGÞ, is the smallest number of colors that are needed in order to make G rainbow connected. It was proved that computing rcðGÞ is an NP-hard problem, as well as that… (More)