Redundant Connection | Leetcode 684