01 2022 档案

摘要:https://leetcode-cn.com/problems/remove-sub-folders-from-the-filesystem/comments/ 愚蠢的做法,但是学了字典树。 class Solution { public: vector<string> ans; struct T 阅读全文
posted @ 2022-01-21 22:01 Tsyxxxka 阅读(39) 评论(0) 推荐(0) 编辑
摘要:https://leetcode-cn.com/problems/maximum-sum-bst-in-binary-tree/ ##题解 ###关键点: 1、判断是否二叉搜索树 2、是的话拿到键值和 判断二叉搜索树可以通过比较当前节点,当前节点左子树最大值和当前节点右子树最小值来实现;键值和可以在 阅读全文
posted @ 2022-01-19 21:15 Tsyxxxka 阅读(38) 评论(0) 推荐(0) 编辑

levels of contents
点击右上角即可分享
微信分享提示