2024-03-03发表2024-03-03更新LeetCode每日一题2 分钟读完 (大约263个字)225. 用队列实现栈用队列实现栈 难度: easy 原始链接: https://leetcode.cn/problems/implement-stack-using-queues 标签: 队列, 堆栈 阅读更多
2024-03-02发表2024-03-02更新LeetCode每日一题1 分钟读完 (大约138个字)2368. 受限条件下可到达节点的数目2368. 受限条件下可到达节点的数目 难度: medium 原始链接: https://leetcode.cn/problems/reachable-nodes-with-restrictions 标签: 深度优先遍历 阅读更多
2024-03-01发表2024-03-01更新LeetCode每日一题1 分钟读完 (大约195个字)2369. 检查数组是否存在有效划分检查数组是否存在有效划分 难度: medium 原始链接: https://leetcode.cn/problems/check-if-there-is-a-valid-partition-for-the-array 标签: 动态规划 阅读更多
2024-02-28发表2024-09-05更新LeetCode每日一题几秒读完 (大约107个字)2673. 使二叉树所有路径值相等的最小代价使二叉树所有路径值相等的最小代价 难度: medium 原始链接: https://leetcode.cn/problems/make-costs-of-paths-equal-in-a-binary-tree 标签: 贪心 阅读更多
2024-02-27发表2024-02-27更新LeetCode每日一题1 分钟读完 (大约216个字)2867. 统计树中的合法路径数目统计树中的合法路径数目 难度: hard 原始链接: https://leetcode.cn/problems/count-valid-paths-in-a-tree 标签: 深度优先遍历 阅读更多