結果 : diameter of binary tree solution