Leetcode Minimum Spanning Tree Examples