結果 : max diameter of tree leetcode