Hello everyone I need some help in the exercise "GINCANA" Anyone can help me? I’m having a lot of trouble to built the graph. Thanks
I haven’t done this problem, but it looks like Disjoint Sets might help.