https://leetcode.com/problems/find-critical-and-pseudo-critical-edges-in-minimum-spanning-tree/