Diameter of Binary Tree
Diameter of Binary Tree: Given the root of a binary tree, return the length of the diameter of the tree.
Diameter of Binary Tree: Given the root of a binary tree, return the length of the diameter of the tree.
Path Sum: Given the root of a binary tree and an integer targetSum, return true if the tree has a root-to-leaf path such that adding up all the values along…
Maximum Depth of Binary Tree: Given the root of a binary tree, return its maximum depth.