|
|
back to boardAlgorithm Hi Guys, I am just wondering what kind og algorithm is needed to solve this problem ? I wrote some program but it is not working for harder test cases ? Do we need to build some kind of graph etc. to solve this problem ? Thanks Re: Algorithm disjoint set ;) |
|
|