|
|
back to boardGetting TLE, Please Help Posted by shilp 16 Aug 2008 01:00 I am trying to take all possible combinations of k and run union-find to check if 0-1 are connected in that combinations. complexity is O(M(2^K)). is there a faster approach? Edited by author 16.08.2008 01:01 |
|
|