2024-02-27发表2025-11-17更新LeetCode每日一题1 分钟读完 (大约216个字)2867. 统计树中的合法路径数目统计树中的合法路径数目 难度: hard 原始链接: https://leetcode.cn/problems/count-valid-paths-in-a-tree 标签: 深度优先遍历 阅读更多
2024-02-26发表2025-11-17更新LeetCode每日一题几秒读完 (大约107个字)938. 二叉搜索树的范围和二叉搜索树的范围和 难度: easy 原始链接: https://leetcode.cn/problems/range-sum-of-bst 标签: 递归 阅读更多
2024-02-25发表2025-11-17更新LeetCode每日一题1 分钟读完 (大约117个字)235. 二叉搜索树的最近公共祖先二叉搜索树的最近公共祖先 难度: medium 原始链接: https://leetcode.cn/problems/lowest-common-ancestor-of-a-binary-search-tree 标签: 一次遍历 阅读更多
2024-02-24发表2025-11-17更新LeetCode每日一题1 分钟读完 (大约207个字)2476. 二叉搜索树最近节点查询二叉搜索树最近节点查询 难度: medium 原始链接: https://leetcode.cn/problems/closest-nodes-queries-in-a-binary-search-tree 标签: 中序遍历, 二分查找 阅读更多
2024-02-23发表2025-11-17更新LeetCode每日一题2 分钟读完 (大约248个字)2583. 二叉树中的第 K 大层和二叉树中的第 K 大层和 难度: medium 原始链接: https://leetcode.cn/problems/kth-largest-sum-in-a-binary-tree 标签: 层序遍历 阅读更多