Help with this DSU problem
Problem link : https://toph.co/p/unbelievable-array How should I approach this problem? Someone help please.