Maximum Depth of Binary Tree
Maximum Depth of Binary Tree: Given the root of a binary tree, return its maximum depth.
Maximum Depth of Binary Tree: Given the root of a binary tree, return its maximum depth.
Merge Two Binary Trees: You are given two binary trees root1 and root2.
Subtree of Another Tree: Given the roots of two binary trees root and subRoot, return true if there is a subtree of root with the same structure and node values…
Same Tree: Given the roots of two binary trees p and q, write a function to check if they are the same or not.
Invert A Binary Tree: Given the root of a binary tree, invert the tree, and return its root.
Find Smallest Letter Greater Than Target: You are given an array of characters letters that is sorted in non-decreasing order, and a character target.