【LetMeFly】1483.树节点的第 K 个祖先:树上倍增力扣题目链接:https://leetcode.cn/problems/kth-ancestor-of-a-tree-node/给你一棵树,树上有 n 个节点,按...
网站首页 > 题解
-
linux 题解 LeetCode 1483.树节点的第 K 个祖先:树上倍增
-
开发语言 ecmascript 牛客网 【JavaScript】JS开发中五个常用功能/案例(31-35)(牛客题解)
...
-
算法 题解 LeetCode 0410.分割数组的最大值:二分
【LetMeFly】410.分割数组的最大值:二分力扣题目链接:https://leetcode.cn/problems/split-array-largest-sum/给定一个非负整数数组 nums 和一个整数 m ,你需...
-
算法 题解 LeetCode 2171.拿出最少数目的魔法豆:排序 + 枚举
【LetMeFly】2171.拿出最少数目的魔法豆:排序 + 枚举力扣题目链接:https://leetcode.cn/problems/removing-minimum-number-of-magic-beans/给你一个...
-
题解 模拟 二进制 LeetCode 2859.计算 K 置位下标对应元素的和:遍历(附Python一行代码版)
【LetMeFly】2859.计算 K 置位下标对应元素的和:遍历(附Python一行代码版)力扣题目链接:https://leetcode.cn/problems/sum-of-values-at-indices-with...
-
题解 刷力扣 LeetCode 算法题需要充值会员吗?
一、刷题成就大家好,我是『负雪明烛』。在过去的这些年里,我的一项业余爱好就是写作算法题解。如今写了上千篇题解了!在 CSDN 上,我的博客获得了 200 多万的阅读。在力扣中国题解区,我也获得了180 万的阅读。当然,这些多...
-
题解 LeetCode 1457. 二叉树中的伪回文路径:深度优先搜索(DFS) + 位运算优化
【LetMeFly】1457.二叉树中的伪回文路径:深度优先搜索(DFS + 位运算优化 力扣题目链接:https://leetcode.cn/problems/pseudo-palindromic-paths-in-a-...
-
题解 LeetCode 2660. 保龄球游戏的获胜者:模拟
【LetMeFly】2660.保龄球游戏的获胜者:模拟 力扣题目链接:https://leetcode.cn/problems/determine-the-winner-of-a-bowling-game/ 给你两个下标从...
没有更多内容