摘要: LeetCode 700. Search in a Binary Search Tree (二叉搜索树中的搜索) 题目 链接 https://leetcode.cn/problems/search-in-a-binary-search-tree/ 问题描述 给定二叉搜索树(BST)的根节点 root 阅读全文
posted @ 2022-06-03 16:17 cheng102e 阅读(16) 评论(0) 推荐(0) 编辑
摘要: LeetCode 513. Find Bottom Left Tree Value (找树左下角的值) 题目 链接 https://leetcode.cn/problems/find-bottom-left-tree-value/ 问题描述 给定一个二叉树的 根节点 root,请找出该二叉树的 最底 阅读全文
posted @ 2022-06-03 11:18 cheng102e 阅读(16) 评论(0) 推荐(0) 编辑
摘要: LeetCode 404. Sum of Left Leaves (左叶子之和) 题目 链接 问题描述 给定二叉树的根节点 root ,返回所有左叶子之和。 示例 输入: root = [3,9,20,null,null,15,7] 输出: 24 解释: 在这个二叉树中,有两个左叶子,分别是 9 和 阅读全文
posted @ 2022-06-03 09:45 cheng102e 阅读(11) 评论(0) 推荐(0) 编辑