Leetcode Minimum Spanning Tree Questions