Minimum Cost Of Connecting Ropes Leetcode