Leetcode 1617. Count Subtrees With Max Distance Between Cities | Hello Interview