I have tried to solve CLFLARR for a long time , but was not able to
Also tried on net to get any possible solution, but couldn’t find any??
Can anyone explain fully how do I solve the question Colorful Array(CLFLARR) in Spoj
using Disjoint Set Union method