Leetcode 3067. Count Pairs of Connectable Servers in a Weighted Tree Network | Hello Interview