Find the nearest clone

  • + 1 comment

    Test Case 12 has no answer and is the wrong expected output. There is no edge linking the nodes with colour 2 in the graph.