998. Maximum Binary Tree II(最大二叉樹II)

題目描述 方法思路 Q1:Why to the right and not to the left? Always go right since new element will be inserted at the end of the list. Q2:why if(root.val<v){ TreeNode node = new TreeNode(v); node.left=root; re
相關文章
相關標籤/搜索