摘要: 1 void BST(TreeNode root, int target) 2 { 3 if (root.val == target) 4 // 找到目标,做点什么 5 if (root.val < target) 6 BST(root.right, target); 7 if (root.val 阅读全文
posted @ 2020-05-08 16:19 Jinxiaobo0509 阅读(128) 评论(0) 推荐(0)