day23 669 108 538
摘要:
###669. 修剪二叉搜索树 class Solution { public TreeNode trimBST(TreeNode root, int low, int high) { if(root==null) return null; if(root.val>high){ //比high还大 阅读全文
posted @ 2022-10-13 21:03 你是千堆雪我是长街7 阅读(11) 评论(0) 推荐(0)