Best Time To Buy And Sell Stock: You are given an array prices where prices[i] is the price of a given stock on the ith day.
read moreBest Time To Buy And Sell Stock: You are given an array prices where prices[i] is the price of a given stock on the ith day.
read moreDiameter of Binary Tree: Given the root of a binary tree, return the length of the diameter of the tree.
read morePath 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 the path equals targetSum.
read moreMaximum Depth of Binary Tree: Given the root of a binary tree, return its maximum depth.
read moreMerge Two Binary Trees: You are given two binary trees root1 and root2.
read moreSubtree 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 of subRoot and false otherwise.
read moreDon’t settle for anything less than the crown. Join our newsletter and become the King of Interviews! Click here to join now and get the latest updates.