Count Subtrees With Max Distance Between Cities

hardSolve on LeetCode
Last edited: August 2, 2025