LeetCode Personal Problem Solving Summary Question 21: The diameter of the binary tree December 15, 2023 by 余雅琪 No Comments Diameter points of a binary tree: what the root node needs to do is to add the height of the left subtree and the right... Read More
LeetCode Personal Problem Solving Summary Question 20: The diameter of the binary tree December 14, 2023 by Tushar Sunder No Comments Important: The diameter of a binary tree is the maximum number of nodes formed by the left and right subtrees and the root node minus... Read More