├── Leetcode150.md ├── 零茶山艾府+代码随想录 └── 扫描线.md ├── 算法笔记 ├── zuoAlgorithm │ ├── 100. 算法课程 │ │ ├── 10. 基础课 │ │ │ └── 荷兰国旗问题 1.md │ │ ├── 32. 训练营第5期 │ │ │ ├── 第7节.md │ │ │ ├── 第8节.md │ │ │ ├── 第6节.md │ │ │ ├── 第4节.md │ │ │ ├── 第2节.md │ │ │ ├── 第1节.md │ │ │ ├── 第5节.md │ │ │ └── 第3节.md │ │ ├── 01. 体系学习班 │ │ │ ├── 27 bfprt算法、蓄水池算法.md │ │ │ ├── 42 四边形不等式技巧(下).md │ │ │ ├── 43 状态压缩的动态规划.md │ │ │ ├── 44 DC3生成后缀数组详解.md │ │ │ ├── 37 有序表(下).md │ │ │ ├── 19 暴力递归到动态规划(二).md │ │ │ ├── 45 后缀数组解决的面试题.md │ │ │ └── 02 异或运算和几个经典题目解析.md │ │ ├── 02. 大厂刷题班 │ │ │ ├── 大厂刷题班21.md │ │ │ ├── 大厂刷题班43.md │ │ │ ├── 大厂刷题班52.md │ │ │ ├── 大厂刷题班44.md │ │ │ ├── 大厂刷题班11.md │ │ │ ├── 大厂刷题班41.md │ │ │ ├── 大厂刷题班48.md │ │ │ ├── 大厂刷题班40.md │ │ │ ├── 大厂刷题班50.md │ │ │ ├── 大厂刷题班13.md │ │ │ ├── 大厂刷题班05.md │ │ │ ├── 大厂刷题班39.md │ │ │ ├── 大厂刷题班45.md │ │ │ ├── 大厂刷题班46.md │ │ │ ├── 大厂刷题班08.md │ │ │ ├── 大厂刷题班16.md │ │ │ ├── 大厂刷班题20.md │ │ │ ├── 大厂刷题班18.md │ │ │ ├── 大厂刷题班51.md │ │ │ ├── 大厂刷题班24.md │ │ │ ├── 大厂刷题班25.md │ │ │ └── 大厂刷题班12.md │ │ ├── 31. 训练营第4期 │ │ │ ├── 第5节.md │ │ │ ├── 第7节.md │ │ │ ├── 第8节.md │ │ │ ├── 第1节.md │ │ │ ├── 第6节.md │ │ │ ├── 第3节.md │ │ │ ├── 第4节.md │ │ │ └── 第2节.md │ │ ├── .DS_Store │ │ ├── 33. 经典面试题讲解 │ │ │ ├── 经典面试题目27.md │ │ │ ├── 经典面试题目30.md │ │ │ ├── 经典面试题目19.md │ │ │ ├── 经典面试题目17.md │ │ │ ├── 经典面试题目11.md │ │ │ ├── 经典面试题目21.md │ │ │ ├── 经典面试题目18.md │ │ │ ├── 经典面试题目31.md │ │ │ ├── 经典面试题目23.md │ │ │ ├── 经典面试题目24.md │ │ │ ├── 经典面试题目2.md │ │ │ ├── 经典面试题目25.md │ │ │ ├── 经典面试题目3.md │ │ │ ├── 经典面试题目16.md │ │ │ ├── 经典面试题目22.md │ │ │ ├── 经典面试题目29.md │ │ │ ├── 经典面试题目15.md │ │ │ └── 经典面试题目7.md │ │ ├── 41. LeetCodeTop100Like │ │ │ ├── leetcode高频题目全讲(29).md │ │ │ └── leetcode高频题目全讲(26).md │ │ ├── 03. 算法营养课 │ │ │ ├── 2021年12月第1周.md │ │ │ ├── 2022年1月第3周.md │ │ │ ├── 2022年7月第1周.md │ │ │ ├── 2022年9月第2周.md │ │ │ ├── 2022年3月第1周.md │ │ │ ├── 2021年12月第4周.md │ │ │ ├── 2021年12月第5周.md │ │ │ ├── 2022年1月第4周.md │ │ │ ├── 2022年7月第4周.md │ │ │ ├── 2021年11月第4周.md │ │ │ ├── 2022年8月第2周.md │ │ │ ├── 2022年8月第5周.md │ │ │ ├── 2021年12月第2周.md │ │ │ ├── 2022年6月第4周.md │ │ │ ├── 2022年3月第5周.md │ │ │ ├── 2022年6月第3周.md │ │ │ ├── 2021年12月第3周.md │ │ │ ├── 2022年5月第3周.md │ │ │ ├── 2022年10月第1周.md │ │ │ ├── 2022年2月第4周.md │ │ │ ├── 2022年6月第1周.md │ │ │ ├── 2022年7月第3周.md │ │ │ ├── 2022年1月第1周.md │ │ │ ├── 2022年5月第2周.md │ │ │ ├── 2022年9月第1周.md │ │ │ ├── 2022年6月第2周.md │ │ │ ├── 2022年9月第3周.md │ │ │ ├── 2022年9月第4周.md │ │ │ ├── 2022年5月第1周.md │ │ │ ├── 2022年2月第3周.md │ │ │ ├── 2022年3月第2周.md │ │ │ ├── 2022年1月第2周.md │ │ │ ├── 2022年2月第2周.md │ │ │ └── 2022年3月第3周.md │ │ ├── 40. LeetCode高频题 │ │ │ └── leetcode高频题目全讲(26).md │ │ └── 30. 训练营第3期 │ │ │ ├── 第8节.md │ │ │ └── 第5节.md │ ├── 010. 代码模板 │ │ ├── 二分法模板.md │ │ ├── 翻转0-1字符串数组.md │ │ └── 滑动窗口模板.md │ ├── 002. 知识点总结 │ │ ├── 20. 算法知识点 │ │ │ ├── 双连通分量.md │ │ │ ├── 树链剖分.md │ │ │ ├── 前缀和.md │ │ │ ├── 树型DP.md │ │ │ ├── 最小费用最大流.md │ │ │ ├── 闫氏DP分析法.md │ │ │ ├── 二维堆.md │ │ │ ├── 数位DP.md │ │ │ ├── 时间复杂度盲区补充.md │ │ │ ├── 线索二叉树.md │ │ │ ├── Tarjan算法.md │ │ │ ├── 前后缀分解.md │ │ │ ├── 博弈论问题.md │ │ │ ├── 子序列.md │ │ │ ├── 树状数组.md │ │ │ ├── 矩阵处理技巧.md │ │ │ ├── 宽度优先遍历.md │ │ │ ├── 并行算法.md │ │ │ ├── 银行家算法.md │ │ │ ├── 布谷鸟过滤器.md │ │ │ ├── 最大流最小割.md │ │ │ └── 离线和在线算法.md │ │ ├── 10. 数学基础 │ │ │ ├── 康托展开.md │ │ │ ├── 1~n 中完全平方数的个数.md │ │ │ ├── 判断闰年.md │ │ │ ├── 奇偶性结论.md │ │ │ └── 二元一次方程求根公式.md │ │ ├── .DS_Store │ │ └── 00. 编程语言相关 │ │ │ ├── Java boolean 按位操作跟逻辑操作区别.md │ │ │ └── _Java 语言速成+进阶.md │ ├── 200. ★算法题目汇总★ │ │ ├── ★算法面试题汇总 │ │ │ ├── 带分数和.md │ │ │ ├── 直方图面积问题.md │ │ │ ├── 存在重复元素.md │ │ │ ├── 子数组最大累加和.md │ │ │ ├── 如何设计一个打印整棵树的打印函数.md │ │ │ ├── 求二叉树最宽的层有多少个节点.md │ │ │ ├── 最大或的结果的最短子数组.md │ │ │ ├── 整数反转.md │ │ │ ├── 位运算完成大小比较.md │ │ │ ├── 加一.md │ │ │ ├── 整数转罗马数字.md │ │ │ ├── 最近公共祖先-时间O(N)空间O(1)解法.md │ │ │ ├── 目标和.md │ │ │ ├── 外观数列.md │ │ │ ├── 数组中不同数字的个数.md │ │ │ ├── 移动零.md │ │ │ ├── 背包问题的动态规划解法.md │ │ │ ├── 解数独.md │ │ │ ├── 解码方法.md │ │ │ ├── 跳跃游戏.md │ │ │ ├── 3的幂.md │ │ │ ├── 二叉树的子树与子拓扑结构.md │ │ │ ├── 二维数组直方图装水.md │ │ │ ├── 单词搜索.md │ │ │ ├── 子集.md │ │ │ ├── 排序链表.md │ │ │ ├── 相等的子串个数.md │ │ │ ├── 统计目录下的文件数量.md │ │ │ ├── 转化逆波兰式为中序表达式.md │ │ │ ├── 重构字符串.md │ │ │ ├── 阶乘计算.md │ │ │ ├── 单词接龙.md │ │ │ ├── 合并区间.md │ │ │ ├── 奇偶链表.md │ │ │ ├── 寻找峰值.md │ │ │ ├── 岛屿数量.md │ │ │ ├── 最长公共前缀.md │ │ │ ├── 求数组中哪两个数与的结果最大.md │ │ │ ├── 组合总和.md │ │ │ ├── 给定一个整型矩阵,返回子矩阵的最大累加和.md │ │ │ ├── 课程表.md │ │ │ ├── 通配符匹配.md │ │ │ ├── 颠倒二进制位.md │ │ │ ├── N个无差别节点有多少种组成二叉数的方式.md │ │ │ ├── 不同路径.md │ │ │ ├── 不能相邻的最大子序列累加和.md │ │ │ ├── 两整数之和.md │ │ │ ├── 分割回文串.md │ │ │ ├── 判定井字棋胜负.md │ │ │ ├── 合并两个有序数组.md │ │ │ ├── 字母异位词分组.md │ │ │ ├── 打家劫舍 III.md │ │ │ ├── 最大嵌套的括号层数.md │ │ │ ├── 最小栈.md │ │ │ ├── 最长递增子序列问题的O(NxlogN)的解法.md │ │ │ ├── 杨辉三角.md │ │ │ ├── 爬楼梯.md │ │ │ ├── 验证回文串.md │ │ │ ├── Fizz Buzz.md │ │ │ ├── 判断二叉树是不是满二叉树.md │ │ │ ├── 子序列中字面值等于字符串T的个数.md │ │ │ ├── 字符串转换整数 (atoi).md │ │ │ ├── 打家劫舍.md │ │ │ ├── 搜寻名人.md │ │ │ ├── 摆动排序.md │ │ │ ├── 矩阵置零.md │ │ │ ├── 课程表 II.md │ │ │ ├── 只出现一次的数字.md │ │ │ ├── 子数组长度不超过M的最大累加和.md │ │ │ ├── 数组最大的三子数组的最大和.md │ │ │ ├── 某搜索公司一天的用户搜索词汇是海量的, 求出每天热门Top100词汇.md │ │ │ ├── 直线上最多的点数.md │ │ │ ├── 长度为K的子序列和为偶数的个数.md │ │ │ ├── 二叉搜索树中的顺序后继.md │ │ │ ├── 二叉搜索树中第K小的元素.md │ │ │ ├── 二叉树中的最大路径和.md │ │ │ ├── 二叉树的中序遍历.md │ │ │ ├── 分数到小数.md │ │ │ ├── 平方之后的结果数.md │ │ │ ├── 找到数组中只出现1次的数.md │ │ │ ├── 求数组中哪两个数或的结果最大.md │ │ │ ├── 路径总和 III.md │ │ │ ├── double类型数x开根号保留小数点后k位.md │ │ │ ├── 不给单链表的头节点删除指定节点.md │ │ │ ├── 只出现两次的数.md │ │ │ ├── 和为K的子数组.md │ │ │ ├── 完全平方数.md │ │ │ ├── 最长同值路径.md │ │ │ ├── 电话号码的字母组合.md │ │ │ ├── 词频最大的前K个字符串.md │ │ │ ├── 返回数组中,有多少个独立的域.md │ │ │ ├── 非负数组中两个数相与的最大结果.md │ │ │ ├── x 的平方根.md │ │ │ ├── 两数相加的最小绝对值.md │ │ │ ├── 从左下角走到右下角的最短距离.md │ │ │ ├── 卡特兰数题目一.md │ │ │ ├── 字符串中的第一个唯一字符.md │ │ │ ├── 字符串变为回文需要添加的最少字符.md │ │ │ ├── 最长回文子串.md │ │ │ ├── 朋友圈.md │ │ │ ├── 矩阵中的最长递增路径.md │ │ │ ├── 让数组有序.md │ │ │ ├── 质因子的价值和.md │ │ │ ├── step sum.md │ │ │ ├── 买卖股票的最佳时机 II.md │ │ │ ├── 买卖股票的最佳时机.md │ │ │ ├── 卡特兰数题目二.md │ │ │ ├── 天际线问题 1.md │ │ │ ├── 字典序最大的子序列.md │ │ │ ├── 每日温度.md │ │ │ ├── 相邻字符的交换次数.md │ │ │ ├── 累加和>=k的所有子数组中的最短长度.md │ │ │ ├── 5亿个取值范围为0~10的亿整数中不存在的数.md │ │ │ ├── Internet Bandwidth.md │ │ │ ├── 不给头结点,删除单链表上的节点.md │ │ │ ├── 不重建直接生成二叉树的后续遍历数组.md │ │ │ ├── 二叉树上的相等子树.md │ │ │ ├── 二叉树中最大的二叉搜索子树的大小.md │ │ │ ├── 二维01矩阵中一共有多少个岛.md │ │ │ ├── 删除排序数组中的重复项.md │ │ │ ├── 剪短绳子得到的最大价值.md │ │ │ ├── 只做一次交易买卖股票的最大钱数.md │ │ │ ├── 在无序数组中求第K小的数.md │ │ │ ├── 多次交易买卖股票的最大钱数.md │ │ │ ├── 子矩阵最大累加和.md │ │ │ ├── 旋转数组.md │ │ │ ├── 最小的达标数字.md │ │ │ ├── 欧拉信封问题.md │ │ │ ├── 正数数组分割为累加和接近的两个集合.md │ │ │ ├── 直方图的最大矩形面积.md │ │ │ ├── 能被K整除的的子串个数.md │ │ │ ├── 严格连续递增的子数组最大长度.md │ │ │ ├── 二叉树中最大的二叉搜索子树的头节点.md │ │ │ ├── 二叉树的序列化与反序列化.md │ │ │ ├── 取消冲突的会议安排.md │ │ │ ├── 只含有一个小写字母的最长子串.md │ │ │ ├── 子数组的最小值之和.md │ │ │ ├── 将有序数组转换为二叉搜索树.md │ │ │ ├── 小于等于K的最大子数组累加和.md │ │ │ ├── 左上到右下的最小耗费.md │ │ │ ├── 差值大于1的子序列.md │ │ │ ├── 无序数组中最长的连续序列的长度.md │ │ │ ├── 相交链表.md │ │ │ ├── 7的倍数的最大累加和.md │ │ │ ├── 一个人迈上N级台阶的方法数.md │ │ │ ├── 一条直线最多能穿过多少个点.md │ │ │ ├── 三数之和.md │ │ │ ├── 二叉树上两个节点的最低公共祖先.md │ │ │ ├── 分割等和子集.md │ │ │ ├── 合并两个有序链表.md │ │ │ ├── 数组的子集不能累加出的最小正数.md │ │ │ ├── 最多可以同时有多少场比赛.md │ │ │ ├── 最长回文子串的长度.md │ │ │ ├── M 整除数对.md │ │ │ ├── 两棵二叉树是否有一致结构的子树.md │ │ │ ├── 二进制中1的个数等于target的数字个数.md │ │ │ ├── 填充每个节点的下一个右侧节点指针.md │ │ │ ├── 实现二叉树的按层遍历.md │ │ │ ├── 序列中的重复数字.md │ │ │ ├── 矩阵往返一次的最大路径和.md │ │ │ ├── 给你一批信封,返回最大的嵌套层数.md │ │ │ ├── 被3整除的最大数.md │ │ │ ├── 超级水王问题.md │ │ │ ├── 四数相加 II.md │ │ │ ├── 快乐数.md │ │ │ ├── 数组中全是1的最大正方形.md │ │ │ ├── 最大矩形.md │ │ │ ├── 满足条件的子数组个数.md │ │ │ ├── 铺瓷砖问题.md │ │ │ ├── 颜色分类.md │ │ │ ├── 100亿个URL的大文件中找出其中所有重复的URL.md │ │ │ ├── 哪一种确定的划分下子数组异或和为零的部分最多.md │ │ │ ├── 字符串子串包含.md │ │ │ ├── 字符串拼接的最大分数.md │ │ │ ├── 实现 strStr().md │ │ │ ├── 括号生成.md │ │ │ ├── 搜索二叉树转换为有序的双向链表.md │ │ │ ├── 搜索旋转排序数组.md │ │ │ ├── 数组的子集能否累加出K.md │ │ │ ├── 有效的括号.md │ │ │ ├── 编辑距离.md │ │ │ ├── 非负数组子序列中累加和%m的最大值.md │ │ │ ├── 面值数组组成面值的最少货币数.md │ │ │ ├── 以最少的跳跃次数跳到最后一个数.md │ │ │ ├── 反转字符串.md │ │ │ ├── 娱乐值和进攻值.md │ │ │ ├── 字符串插入形成的字典序最大结果.md │ │ │ ├── 对称二叉树.md │ │ │ ├── 序列的最大连接数.md │ │ │ ├── 找到所有数组中消失的数字.md │ │ │ ├── 杨辉三角 II.md │ │ │ ├── 比特位计数.md │ │ │ ├── 滑动窗口内的最大值.md │ │ │ ├── 计数质数.md │ │ │ ├── 重复的子字符串.md │ │ │ ├── 重新分类单链表.md │ │ │ ├── 问字符串s2最少删除多少字符可以成为s1的子串.md │ │ │ ├── 40亿个无符号整数的中位数.md │ │ │ ├── 两数游戏.md │ │ │ ├── 二叉搜索子树的最大键值和.md │ │ │ ├── 司机最高总收入.md │ │ │ ├── 回文子串最多的划分方案.md │ │ │ ├── 扁平化嵌套列表迭代器.md │ │ │ ├── 无序数组变成有序数组的最小交换次数.md │ │ │ ├── 最多K次交易买卖股票的最大钱数.md │ │ │ ├── 棋盘染色问题.md │ │ │ ├── 求出每天热门Top100词汇.md │ │ │ ├── 环形链表.md │ │ │ ├── 甲乙轮流拿球谁会赢.md │ │ │ ├── 相对几乎有序数组排序.md │ │ │ ├── 累加和最小的前k个子序列累加和.md │ │ │ ├── 翻转区间后最多的1的数量.md │ │ │ ├── 转圈打印N边星号正方形.md │ │ │ ├── Excel表列序号.md │ │ │ ├── 在无序数组中生成前十小的数组.md │ │ │ ├── 小人过有鳄鱼的河.md │ │ │ ├── 所有砖块最多摆几层.md │ │ │ ├── 有效的字母异位词.md │ │ │ ├── 40亿个无符号整数找出所有出现了两次的数.md │ │ │ ├── 会议室能容纳的最多宣讲场次.md │ │ │ ├── 字符串种类.md │ │ │ ├── 尽可能的短的剩余字符串.md │ │ │ ├── 真实的用户数量.md │ │ │ ├── 翻转二叉树.md │ │ │ ├── 达标数组的数量.md │ │ │ ├── 两个最长的01串区间.md │ │ │ ├── 字符串的回文子序列.md │ │ │ ├── 找出最大的左部分最大值减去右部分最大值的绝对值.md │ │ │ ├── 数组直方图装水.md │ │ │ ├── 最大食物链计数.md │ │ │ ├── 最少添加多少字符使字符串变为回文串.md │ │ │ ├── 累加和最大的前k个子序列累加和.md │ │ │ ├── 至多包含 K 个不同字符的最长子串.md │ │ │ ├── 达标子串的最大长度.md │ │ │ ├── Bob生还的概率.md │ │ │ ├── zigzag打印矩阵.md │ │ │ ├── 一根长度为K的绳子,最多能盖住几个点.md │ │ │ ├── 不同的二叉搜索树.md │ │ │ ├── 两个有序数组中最大的k个数.md │ │ │ ├── 大于等于x的区间查询.md │ │ │ ├── 数组中得到最多异或和为0的子数组划分问题.md │ │ │ ├── 盛最多水的容器.md │ │ │ ├── 连接最多点的曲线最多穿过的点数.md │ │ │ ├── 魔法操作后的数组最大和.md │ │ │ ├── 三种数字的个数都相等的最小变化次数.md │ │ │ ├── 使用单词表拼接长字符串的方法数.md │ │ │ ├── 大炮打导弹.md │ │ │ ├── 指定范围上涂色的房子有多少种.md │ │ │ ├── 按要求调整多叉树.md │ │ │ ├── 接受服务的最早时间.md │ │ │ ├── 最大的全是1的子矩阵中1的数量.md │ │ │ └── 求二叉树路径累加和为K是最长路径的节点数.md │ │ ├── 算法群面试题 │ │ │ ├── 0207-NC-最大路径和.md │ │ │ ├── 1102-字节+腾讯.md │ │ │ ├── 1023-头条.md │ │ │ ├── 1119-拓扑排序DFS解法.md │ │ │ ├── 1015-中缀转后缀表达式.md │ │ │ ├── 1124-分割数组为累加和接近的两个集合.md │ │ │ ├── 1116-快手.md │ │ │ ├── 1013-携程.md │ │ │ ├── 0928-24点游戏.md │ │ │ ├── 1129-子数组的最小值之和.md │ │ │ ├── 1201-LeetCode-我能赢吗.md │ │ │ ├── 1130-LeetCode-重构字符串.md │ │ │ ├── 1207-字符消除游戏.md │ │ │ ├── 1125-扁平化嵌套列表迭代器.md │ │ │ ├── 1116-阿里.md │ │ │ ├── 1219-华为.md │ │ │ ├── 1211-LeetCode-440.字典序的第K小数字.md │ │ │ └── 1215-1373.二叉搜索子树的最大键值和.md │ │ ├── 智力_概率题目 │ │ │ ├── 随机在圆上生成n个点,这n个点在同一半圆的概率是多少.md │ │ │ ├── 64匹马,8个赛道,找出跑得最快的4匹马,至少比赛几场?.md │ │ │ ├── 圆环上随机取3个点组成一个锐角,钝角,直角三角形的概率.md │ │ │ └── 三人赛跑, 得第二三名的概率.md │ │ ├── 练习题 │ │ │ └── 自己改动态规划的题目.md │ │ └── .DS_Store │ ├── .DS_Store │ ├── 000.Pending │ │ └── 数位DP.md │ ├── 1000.Misc │ │ ├── Links.md │ │ ├── 缩略语.md │ │ └── 竞赛及思维训练.md │ ├── 004. 刷题经验总结 │ │ ├── 快速幂.md │ │ ├── 集合滚动法.md │ │ ├── 需要二维排序的题目.md │ │ ├── 找到一个数所有的质数因子.md │ │ ├── 需要改写有序表的题目.md │ │ ├── 跟面试官聊的算法.md │ │ ├── 预处理结构.md │ │ └── 数据结构的设计题目.md │ ├── appendix │ │ ├── prim.gif │ │ ├── DC3_Algorithm.pdf │ │ ├── Pasted image 14.png │ │ ├── Pasted image 15.png │ │ ├── Pasted image 18.png │ │ ├── Pasted image 19.png │ │ ├── Pasted image 20.png │ │ ├── Pasted image 21.png │ │ ├── Pasted image 22.png │ │ ├── Pasted image 23.png │ │ ├── Pasted image 24.png │ │ ├── Pasted image 25.png │ │ ├── Pasted image 26.png │ │ ├── Pasted image 27.png │ │ ├── Pasted image 20201119014342.png │ │ ├── Pasted image 20201119021651.png │ │ ├── Pasted image 20201120121518.png │ │ ├── Pasted image 20201120121615.png │ │ ├── Pasted image 20201120121633.png │ │ ├── Pasted image 20201120121722.png │ │ ├── Pasted image 20201120190236.png │ │ ├── Pasted image 20201120200550.png │ │ ├── Pasted image 20201123191043.png │ │ ├── Pasted image 20201207223959.png │ │ ├── Pasted image 20201207230538.png │ │ ├── Pasted image 20201207230829.png │ │ ├── Pasted image 20201207231207.png │ │ ├── Pasted image 20201207231602.png │ │ ├── Pasted image 20201207232747.png │ │ ├── Pasted image 20201207233326.png │ │ ├── Pasted image 20201208004207.png │ │ ├── Pasted image 20201208004216.png │ │ ├── Pasted image 20201208004753.png │ │ ├── Pasted image 20201208013934.png │ │ ├── Pasted image 20201208014445.png │ │ ├── Pasted image 20201208015052.png │ │ ├── Pasted image 20201210004513.png │ │ ├── Pasted image 20201210115604.png │ │ ├── Pasted image 20201210120723.png │ │ ├── Pasted image 20201214150515.png │ │ ├── Pasted image 20201214164359.png │ │ ├── Pasted image 20201214181645.png │ │ ├── Pasted image 20201214181700.png │ │ ├── Pasted image 20201214181722.png │ │ ├── Pasted image 20201214184614.png │ │ ├── Pasted image 20201215121343.png │ │ ├── Pasted image 20201217162517.png │ │ ├── Pasted image 20201217182853.png │ │ ├── Pasted image 20201217183257.png │ │ ├── Pasted image 20201217183701.png │ │ ├── Pasted image 20201217185417.png │ │ ├── Pasted image 20201217221036.png │ │ ├── Pasted image 20201218004230.png │ │ ├── Pasted image 20201218004359.png │ │ ├── Pasted image 20201218004452.png │ │ ├── Pasted image 20201218004535.png │ │ ├── Pasted image 20201218004619.png │ │ ├── Pasted image 20201218005931.png │ │ ├── Pasted image 20201218012955.png │ │ ├── Pasted image 20201218113157.png │ │ ├── Pasted image 20201218113211.png │ │ ├── Pasted image 20201218163207.png │ │ ├── Pasted image 20201221024710.png │ │ ├── Pasted image 20201222123633.png │ │ ├── Pasted image 20201222123645.png │ │ ├── Pasted image 20201222125132.png │ │ ├── Pasted image 20201222134529.png │ │ ├── Pasted image 20201223114215.png │ │ ├── Pasted image 20201223131447.png │ │ ├── Pasted image 20201223131715.png │ │ ├── Pasted image 20201223132400.png │ │ ├── Pasted image 20201223133003.png │ │ ├── Pasted image 20201223134220.png │ │ ├── Pasted image 20201223134755.png │ │ ├── Pasted image 20201223140210.png │ │ ├── Pasted image 20201224105051.png │ │ ├── Pasted image 20201224200601.png │ │ ├── Pasted image 20201225013639.png │ │ ├── Pasted image 20201227140813.png │ │ ├── Pasted image 20210104154701.png │ │ ├── Pasted image 20210104174401.png │ │ ├── Pasted image 20210115021332.png │ │ ├── Pasted image 20210115022303.png │ │ ├── Pasted image 20210115024734.png │ │ ├── Pasted image 20210115030800.png │ │ ├── Pasted image 20210115113650.png │ │ ├── Pasted image 20210115113700.png │ │ ├── Pasted image 20210115233923.png │ │ ├── Pasted image 20210115234729.png │ │ ├── Pasted image 20210117225616.png │ │ ├── Pasted image 20210117230658.png │ │ ├── Pasted image 20210118005430.png │ │ ├── Pasted image 20210118012150.png │ │ ├── Pasted image 20210118012554.png │ │ ├── Pasted image 20210118012750.png │ │ ├── Pasted image 20210118014801.png │ │ ├── Pasted image 20210118015648.png │ │ ├── Pasted image 20210118223939.png │ │ ├── Pasted image 20210127191216.png │ │ ├── Pasted image 20210128084622.png │ │ ├── Pasted image 20210128190100.png │ │ ├── Pasted image 20210128190417.png │ │ ├── Pasted image 20210128192044.png │ │ ├── Pasted image 20210128192534.png │ │ ├── Pasted image 20210128193632.png │ │ ├── Pasted image 20210128194605.png │ │ ├── Pasted image 20210129145331.png │ │ ├── Pasted image 20210129145341.png │ │ ├── Pasted image 20210129145955.png │ │ ├── Pasted image 20210129150543.png │ │ ├── Pasted image 20210129160825.png │ │ ├── Pasted image 20210129161803.png │ │ ├── Pasted image 20210129164318.png │ │ ├── Pasted image 20210129173327.png │ │ ├── Pasted image 20210129214414.png │ │ ├── Pasted image 20210129220327.png │ │ ├── Pasted image 20210129221624.png │ │ ├── Pasted image 20210131210545.png │ │ ├── Pasted image 20210201114034.png │ │ ├── Pasted image 20210201140113.png │ │ ├── Pasted image 20210202144720.png │ │ ├── Pasted image 20210202144835.png │ │ ├── Pasted image 20210202145948.png │ │ ├── Pasted image 20210202172959.png │ │ ├── Pasted image 20210202174025.png │ │ ├── Pasted image 20210202224957.png │ │ ├── Pasted image 20210203205355.png │ │ ├── Pasted image 20210203205557.png │ │ ├── Pasted image 20210203220948.png │ │ ├── Pasted image 20210203223850.png │ │ ├── Pasted image 20210204190614.png │ │ ├── Pasted image 20210204190655.png │ │ ├── Pasted image 20210204194654.png │ │ ├── Pasted image 20210221221433.png │ │ ├── Pasted image 20210321222750.png │ │ ├── Pasted image 20210504190038.png │ │ ├── Pasted image 20210518190026.png │ │ ├── Pasted image 20210524210216.png │ │ ├── Pasted image 20210524210241.png │ │ ├── Pasted image 20210607200919.png │ │ ├── Pasted image 20210607200932.png │ │ ├── Pasted image 20210621201933.png │ │ ├── Pasted image 20210621201941.png │ │ ├── Pasted image 20210621201952.png │ │ ├── Pasted image 20210621202430.png │ │ ├── Pasted image 20210621202628.png │ │ ├── Pasted image 20210621202643.png │ │ ├── Pasted image 20210626155717.png │ │ ├── Pasted image 20210701114118.png │ │ ├── Pasted image 20210701114127.png │ │ ├── Pasted image 20210701123121.png │ │ ├── Pasted image 20210701123133.png │ │ ├── Pasted image 20210701123502.png │ │ ├── Pasted image 20210930194529.png │ │ ├── Pasted image 20211106202532.png │ │ ├── Pasted image 20211106202606.png │ │ ├── Pasted image 20211106205247.png │ │ ├── Pasted image 20211106205313.png │ │ ├── Pasted image 20211106211700.png │ │ ├── Pasted image 20211106211715.png │ │ ├── Pasted image 20211106215945.png │ │ ├── Pasted image 20211106215957.png │ │ ├── Pasted image 20211106220220.png │ │ ├── Pasted image 20211216204657.png │ │ ├── Pasted image 20220105160613.png │ │ ├── Pasted image 20220105160620.png │ │ ├── Pasted image 20220105161138.png │ │ ├── Pasted image 20220105161145.png │ │ ├── Pasted image 20220218194948.png │ │ ├── Pasted image 20220218195003.png │ │ ├── Pasted image 20220408120037.png │ │ ├── Pasted image 20220409105436.png │ │ ├── Pasted image 20220415164321.png │ │ ├── Pasted image 20220421140849.png │ │ ├── Pasted image 20220609120239.png │ │ ├── Pasted image 20220623135403.png │ │ ├── Pasted image 20220623135419.png │ │ ├── Pasted image 20220623135509.png │ │ ├── Pasted image 20220625140920.png │ │ ├── Pasted image 20220625140938.png │ │ ├── Pasted image 20220706204015.png │ │ ├── Pasted image 20220706204035.png │ │ ├── Pasted image 20220711093204.png │ │ ├── Pasted image 20220713212048.png │ │ ├── Pasted image 20220713212053.png │ │ ├── Pasted image 20220719120118.png │ │ ├── Pasted image 20220721000516.png │ │ ├── Pasted image 20220721132829.png │ │ ├── Pasted image 20220725093217.png │ │ ├── Pasted image 20220725093227.png │ │ ├── Pasted image 20220725093521.png │ │ ├── Pasted image 20220726151046.png │ │ ├── Pasted image 20220726220909.png │ │ ├── Pasted image 20220802180546.png │ │ ├── Pasted image 20220814011801.png │ │ ├── Pasted image 20220817234151.png │ │ ├── Pasted image 20220817234157.png │ │ ├── Pasted image 20220827085451.png │ │ ├── Pasted image 20220827085505.png │ │ ├── Pasted image 20220828122734.png │ │ ├── Pasted image 20220906012230.png │ │ ├── Pasted image 20220906213739.png │ │ ├── Pasted image 20220916125917.png │ │ ├── Pasted image 20220916172619.png │ │ └── Pasted image 20221010142905.png │ ├── 001. 难点重点照顾 │ │ ├── .DS_Store │ │ ├── _数学基础知识点.md │ │ ├── _需要手动改写有序表的题目.md │ │ ├── _字符串知识点.md │ │ ├── 扣边界的练习题.md │ │ ├── 一些固定的需要记忆的结论.md │ │ ├── 数组0位置下标弃而不用的一些算法.md │ │ └── _图论知识点.md │ ├── 300. 算法题目分类总结 │ │ ├── .DS_Store │ │ └── 按题目系列分类 │ │ │ ├── 动态规划里的概率系列问题.md │ │ │ ├── 数组累加和系列问题.md │ │ │ ├── 编辑距离系列问题.md │ │ │ ├── 无序连续子数组排序系列问题.md │ │ │ ├── 最大累加和系列题目.md │ │ │ ├── 岛数量系列问题.md │ │ │ └── 咖啡机系列问题.md │ └── 003. 编程基础技巧及工具 │ │ ├── 数组L...R范围上的累加和计算.md │ │ ├── 只有加减乘除的表达式计算.md │ │ └── 荷兰国旗问题.md └── .DS_Store ├── .obsidian ├── appearance.json ├── plugins │ ├── obsidian-Latex2MathJax │ │ ├── .npmrc │ │ ├── .eslintignore │ │ ├── versions.json │ │ ├── eslint.config.mjs │ │ └── styles.css │ ├── mousewheel-image-zoom │ │ └── data.json │ └── number-headings-obsidian │ │ └── styles.css └── .DS_Store ├── C++算法 └── 必备 │ ├── 排序总结.md │ └── 大纲.md ├── 一些新题 └── 在链表上排序.md ├── .DS_Store ├── .gitattributes ├── .smart-env └── .DS_Store └── img ├── Pasted image 20240712110918.png ├── Pasted image 20241223140350.png ├── Pasted image 20241223140404.png ├── Pasted image 20241230202917.png ├── Pasted image 20250110111940.png ├── Pasted image 20250110112018.png ├── Pasted image 20250110232453.png ├── Pasted image 20250110232841.png ├── Pasted image 20250112155617.png ├── Pasted image 20250112155623.png ├── Pasted image 20250228234246.png ├── Pasted image 20250305163349.png ├── Pasted image 20250307155115.png ├── Pasted image 20250308203354.png ├── Pasted image 20250311103137.png ├── Pasted image 20250311105413.png ├── Pasted image 20250319233249.png ├── Pasted image 20250327125950.png ├── Pasted image 20250608170422.png ├── Pasted image 20250915144139.png ├── Pasted image 20250920083302.png ├── Pasted image 20250920084830.png ├── Pasted image 20250921175132.png ├── Pasted image 20250923165635.png ├── Pasted image 20250923165747.png ├── Pasted image 20250925132949.png ├── Pasted image 20250925133048.png ├── Pasted image 20250925135549.png ├── Pasted image 20250925135613.png ├── Pasted image 20250927140643.png ├── Pasted image 20250927160216.png ├── Pasted image 20250927222453.png ├── Pasted image 20250927225945.png ├── Pasted image 20250927230834.png ├── Pasted image 20250928224128.png ├── Pasted image 20250929221123.png ├── Pasted image 20251002143407.png ├── Pasted image 20251004235110.png ├── Pasted image 20251004235157.png ├── Pasted image 20251013220202.png ├── Pasted image 20251015203953.png ├── Pasted image 20251018143732.png ├── Pasted image 20251018144157.png ├── Pasted image 20251018173229.png ├── Pasted image 20251104234555.png └── Pasted image 20251123215640.png /Leetcode150.md: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /零茶山艾府+代码随想录/扫描线.md: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/100. 算法课程/10. 基础课/荷兰国旗问题 1.md: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /.obsidian/appearance.json: -------------------------------------------------------------------------------- 1 | { 2 | "accentColor": "" 3 | } -------------------------------------------------------------------------------- /C++算法/必备/排序总结.md: -------------------------------------------------------------------------------- 1 | # 排序总结 2 | 看这里吧,懒得写 3 | [[05 trie、桶排序、排序总结]] -------------------------------------------------------------------------------- /.obsidian/plugins/obsidian-Latex2MathJax/.npmrc: -------------------------------------------------------------------------------- 1 | tag-version-prefix="" -------------------------------------------------------------------------------- /一些新题/在链表上排序.md: -------------------------------------------------------------------------------- 1 | 在链表上排序。要求时间复杂度O(n * log n),额外空间复杂度O(1),还要求排序有稳定性。 2 | -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/010. 代码模板/二分法模板.md: -------------------------------------------------------------------------------- 1 | # 二分法模板 2 | 3 | --- 4 | 5 | -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/002. 知识点总结/20. 算法知识点/双连通分量.md: -------------------------------------------------------------------------------- 1 | # 双连通分量 2 | 3 | ---- 4 | -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/200. ★算法题目汇总★/★算法面试题汇总/带分数和.md: -------------------------------------------------------------------------------- 1 | # 带分数和 2 | 3 | --- 4 | -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/002. 知识点总结/10. 数学基础/康托展开.md: -------------------------------------------------------------------------------- 1 | # 康托展开 2 | 3 | --- 4 | 5 | -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/002. 知识点总结/20. 算法知识点/树链剖分.md: -------------------------------------------------------------------------------- 1 | # 树链剖分 2 | 3 | --- 4 | 5 | -------------------------------------------------------------------------------- /.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haandfeng/Zuo-Algorithm-Cpp/HEAD/.DS_Store -------------------------------------------------------------------------------- /.gitattributes: -------------------------------------------------------------------------------- 1 | # Auto detect text files and perform LF normalization 2 | * text=auto 3 | -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/100. 算法课程/32. 训练营第5期/第7节.md: -------------------------------------------------------------------------------- 1 | - 题目1: [[TSP问题 ]] 2 | - 题目2: [[铺瓷砖问题]] 3 | -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/200. ★算法题目汇总★/★算法面试题汇总/直方图面积问题.md: -------------------------------------------------------------------------------- 1 | # 直方图面积问题 2 | 3 | --- 4 | 5 | 6 | -------------------------------------------------------------------------------- /.obsidian/plugins/obsidian-Latex2MathJax/.eslintignore: -------------------------------------------------------------------------------- 1 | node_modules/ 2 | 3 | main.js 4 | -------------------------------------------------------------------------------- /.obsidian/plugins/obsidian-Latex2MathJax/versions.json: -------------------------------------------------------------------------------- 1 | { 2 | "1.0.0": "0.15.0" 3 | } 4 | -------------------------------------------------------------------------------- /算法笔记/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haandfeng/Zuo-Algorithm-Cpp/HEAD/算法笔记/.DS_Store -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/002. 知识点总结/20. 算法知识点/前缀和.md: -------------------------------------------------------------------------------- 1 | # 前缀和 2 | 3 | --- 4 | [[前缀和数组]] 5 | [[预处理数组加速]] -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/002. 知识点总结/20. 算法知识点/树型DP.md: -------------------------------------------------------------------------------- 1 | # 树型DP 2 | 3 | --- 4 | 在树上做动态规划 5 | 用 二叉树的递归套路 解决 -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/100. 算法课程/01. 体系学习班/27 bfprt算法、蓄水池算法.md: -------------------------------------------------------------------------------- 1 | # bfprt算法、蓄水池算法 2 | 3 | --- 4 | 5 | -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/100. 算法课程/02. 大厂刷题班/大厂刷题班21.md: -------------------------------------------------------------------------------- 1 | # 大厂刷题班21 2 | 3 | --- 4 | 5 | [[树链剖分]] 6 | 7 | -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/100. 算法课程/32. 训练营第5期/第8节.md: -------------------------------------------------------------------------------- 1 | 2 | - 题目1: [[后缀数组]] 3 | - 题目2: [[拼接最大数]] 4 | 5 | -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/200. ★算法题目汇总★/★算法面试题汇总/存在重复元素.md: -------------------------------------------------------------------------------- 1 | # 存在重复元素 2 | 3 | [E] 4 | 5 | --- 6 | 7 | -------------------------------------------------------------------------------- /.obsidian/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haandfeng/Zuo-Algorithm-Cpp/HEAD/.obsidian/.DS_Store -------------------------------------------------------------------------------- /.smart-env/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haandfeng/Zuo-Algorithm-Cpp/HEAD/.smart-env/.DS_Store -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/200. ★算法题目汇总★/★算法面试题汇总/子数组最大累加和.md: -------------------------------------------------------------------------------- 1 | # 子数组最大累加和 2 | 3 | 4 | --- 5 | 6 | 返回一个数组中,子数组最大累加和 -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/200. ★算法题目汇总★/算法群面试题/0207-NC-最大路径和.md: -------------------------------------------------------------------------------- 1 | # 0207-NC-最大路径和 2 | 3 | 4 | --- 5 | 6 | [[最大路径和]] -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/200. ★算法题目汇总★/★算法面试题汇总/如何设计一个打印整棵树的打印函数.md: -------------------------------------------------------------------------------- 1 | # 如何设计一个打印整棵树的打印函数 2 | 3 | #二叉树遍历 4 | 5 | 6 | --- -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/200. ★算法题目汇总★/★算法面试题汇总/求二叉树最宽的层有多少个节点.md: -------------------------------------------------------------------------------- 1 | # 求二叉树最宽的层有多少个节点 2 | 3 | #二叉树 4 | 5 | 6 | --- 7 | -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haandfeng/Zuo-Algorithm-Cpp/HEAD/算法笔记/zuoAlgorithm/.DS_Store -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/000.Pending/数位DP.md: -------------------------------------------------------------------------------- 1 | # 数位DP 2 | 3 | --- 4 | 5 | 6 | [[1~N中所有数字包含1的个数]] 7 | 8 | 9 | [[k进制下一的个数]] -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/1000.Misc/Links.md: -------------------------------------------------------------------------------- 1 | # Links 2 | 3 | --- 4 | 5 | 6 | - Java 全栈知识体系 https://pdai.tech/ 7 | 8 | 9 | -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/200. ★算法题目汇总★/★算法面试题汇总/最大或的结果的最短子数组.md: -------------------------------------------------------------------------------- 1 | # 最大或的结果的最短子数组 2 | 3 | --- 4 | 5 | 找到非负数组中拥有"最大或的结果"的最短子数组 -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/200. ★算法题目汇总★/算法群面试题/1102-字节+腾讯.md: -------------------------------------------------------------------------------- 1 | # 1102-字节+腾讯 2 | 3 | --- 4 | 5 | - [[矩阵中查找单词]] 6 | - [[小Q打气球]] -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/002. 知识点总结/10. 数学基础/1~n 中完全平方数的个数.md: -------------------------------------------------------------------------------- 1 | # 1~n 中完全平方数的个数 2 | 3 | --- 4 | 5 | [1,n] 中完全平方数的个数为 $\sqrt{n}$ 个 -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/100. 算法课程/02. 大厂刷题班/大厂刷题班43.md: -------------------------------------------------------------------------------- 1 | # 大厂刷题班43 2 | 3 | --- 4 | 5 | [[变换非负数组的最小代价]] 6 | 7 | [[yeah!数组]] 8 | -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/200. ★算法题目汇总★/★算法面试题汇总/整数反转.md: -------------------------------------------------------------------------------- 1 | # 整数反转 2 | 3 | --- 4 | https://leetcode-cn.com/problems/reverse-integer/ -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/200. ★算法题目汇总★/智力_概率题目/随机在圆上生成n个点,这n个点在同一半圆的概率是多少.md: -------------------------------------------------------------------------------- 1 | # 随机在圆上生成n个点,这n个点在同一半圆的概率是多少? 2 | 3 | 4 | --- 5 | -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/200. ★算法题目汇总★/算法群面试题/1023-头条.md: -------------------------------------------------------------------------------- 1 | # 1023-头条 2 | 3 | 4 | --- 5 | 6 | - [[最少按几次开关才能点亮所有的灯]] 7 | 8 | 9 | -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/002. 知识点总结/20. 算法知识点/最小费用最大流.md: -------------------------------------------------------------------------------- 1 | # 最小费用最大流 2 | 3 | --- 4 | 5 | 比赛级别的算法, 碰到写暴力过过case数即可 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/004. 刷题经验总结/快速幂.md: -------------------------------------------------------------------------------- 1 | # 快速幂 2 | 3 | --- 4 | 5 | [[26 由斐波那契数列讲述矩阵快速幂技巧]] 6 | 7 | 50.[[Pow(x, n)]] [M] 8 | -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/200. ★算法题目汇总★/★算法面试题汇总/位运算完成大小比较.md: -------------------------------------------------------------------------------- 1 | 2 | # 位运算完成大小比较 3 | 4 | --- 5 | 6 | 如何不用任何比较判断语句,就可以返回两个数中较大的那个 7 | -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/200. ★算法题目汇总★/★算法面试题汇总/加一.md: -------------------------------------------------------------------------------- 1 | # 加一 2 | 3 | [E] 4 | 5 | --- 6 | 7 | https://leetcode-cn.com/problems/plus-one/ -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/200. ★算法题目汇总★/★算法面试题汇总/整数转罗马数字.md: -------------------------------------------------------------------------------- 1 | # 整数转罗马数字 2 | 3 | -- 4 | https://leetcode-cn.com/problems/integer-to-roman/ -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/200. ★算法题目汇总★/★算法面试题汇总/最近公共祖先-时间O(N)空间O(1)解法.md: -------------------------------------------------------------------------------- 1 | # 最近公共祖先-时间O(N)空间O(1)解法 2 | #Morris遍历 3 | 4 | --- 5 | 6 | -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/200. ★算法题目汇总★/★算法面试题汇总/目标和.md: -------------------------------------------------------------------------------- 1 | # 目标和 2 | 3 | [M] 4 | 5 | --- 6 | https://leetcode-cn.com/problems/target-sum -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/200. ★算法题目汇总★/智力_概率题目/64匹马,8个赛道,找出跑得最快的4匹马,至少比赛几场?.md: -------------------------------------------------------------------------------- 1 | # 64匹马,8个赛道,找出跑得最快的4匹马,至少比赛几场? 2 | 3 | 4 | --- 5 | -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/200. ★算法题目汇总★/智力_概率题目/圆环上随机取3个点组成一个锐角,钝角,直角三角形的概率.md: -------------------------------------------------------------------------------- 1 | # 圆环上随机取3个点组成一个锐角,钝角,直角三角形的概率 2 | 3 | 4 | --- 5 | 6 | -------------------------------------------------------------------------------- /img/Pasted image 20240712110918.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haandfeng/Zuo-Algorithm-Cpp/HEAD/img/Pasted image 20240712110918.png -------------------------------------------------------------------------------- /img/Pasted image 20241223140350.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haandfeng/Zuo-Algorithm-Cpp/HEAD/img/Pasted image 20241223140350.png -------------------------------------------------------------------------------- /img/Pasted image 20241223140404.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haandfeng/Zuo-Algorithm-Cpp/HEAD/img/Pasted image 20241223140404.png -------------------------------------------------------------------------------- /img/Pasted image 20241230202917.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haandfeng/Zuo-Algorithm-Cpp/HEAD/img/Pasted image 20241230202917.png -------------------------------------------------------------------------------- /img/Pasted image 20250110111940.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haandfeng/Zuo-Algorithm-Cpp/HEAD/img/Pasted image 20250110111940.png -------------------------------------------------------------------------------- /img/Pasted image 20250110112018.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haandfeng/Zuo-Algorithm-Cpp/HEAD/img/Pasted image 20250110112018.png -------------------------------------------------------------------------------- /img/Pasted image 20250110232453.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haandfeng/Zuo-Algorithm-Cpp/HEAD/img/Pasted image 20250110232453.png -------------------------------------------------------------------------------- /img/Pasted image 20250110232841.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haandfeng/Zuo-Algorithm-Cpp/HEAD/img/Pasted image 20250110232841.png -------------------------------------------------------------------------------- /img/Pasted image 20250112155617.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haandfeng/Zuo-Algorithm-Cpp/HEAD/img/Pasted image 20250112155617.png -------------------------------------------------------------------------------- /img/Pasted image 20250112155623.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haandfeng/Zuo-Algorithm-Cpp/HEAD/img/Pasted image 20250112155623.png -------------------------------------------------------------------------------- /img/Pasted image 20250228234246.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haandfeng/Zuo-Algorithm-Cpp/HEAD/img/Pasted image 20250228234246.png -------------------------------------------------------------------------------- /img/Pasted image 20250305163349.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haandfeng/Zuo-Algorithm-Cpp/HEAD/img/Pasted image 20250305163349.png -------------------------------------------------------------------------------- /img/Pasted image 20250307155115.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haandfeng/Zuo-Algorithm-Cpp/HEAD/img/Pasted image 20250307155115.png -------------------------------------------------------------------------------- /img/Pasted image 20250308203354.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haandfeng/Zuo-Algorithm-Cpp/HEAD/img/Pasted image 20250308203354.png -------------------------------------------------------------------------------- /img/Pasted image 20250311103137.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haandfeng/Zuo-Algorithm-Cpp/HEAD/img/Pasted image 20250311103137.png -------------------------------------------------------------------------------- /img/Pasted image 20250311105413.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haandfeng/Zuo-Algorithm-Cpp/HEAD/img/Pasted image 20250311105413.png -------------------------------------------------------------------------------- /img/Pasted image 20250319233249.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haandfeng/Zuo-Algorithm-Cpp/HEAD/img/Pasted image 20250319233249.png -------------------------------------------------------------------------------- /img/Pasted image 20250327125950.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haandfeng/Zuo-Algorithm-Cpp/HEAD/img/Pasted image 20250327125950.png -------------------------------------------------------------------------------- /img/Pasted image 20250608170422.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haandfeng/Zuo-Algorithm-Cpp/HEAD/img/Pasted image 20250608170422.png -------------------------------------------------------------------------------- /img/Pasted image 20250915144139.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haandfeng/Zuo-Algorithm-Cpp/HEAD/img/Pasted image 20250915144139.png -------------------------------------------------------------------------------- /img/Pasted image 20250920083302.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haandfeng/Zuo-Algorithm-Cpp/HEAD/img/Pasted image 20250920083302.png -------------------------------------------------------------------------------- /img/Pasted image 20250920084830.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haandfeng/Zuo-Algorithm-Cpp/HEAD/img/Pasted image 20250920084830.png -------------------------------------------------------------------------------- /img/Pasted image 20250921175132.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haandfeng/Zuo-Algorithm-Cpp/HEAD/img/Pasted image 20250921175132.png -------------------------------------------------------------------------------- /img/Pasted image 20250923165635.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haandfeng/Zuo-Algorithm-Cpp/HEAD/img/Pasted image 20250923165635.png -------------------------------------------------------------------------------- /img/Pasted image 20250923165747.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haandfeng/Zuo-Algorithm-Cpp/HEAD/img/Pasted image 20250923165747.png -------------------------------------------------------------------------------- /img/Pasted image 20250925132949.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haandfeng/Zuo-Algorithm-Cpp/HEAD/img/Pasted image 20250925132949.png -------------------------------------------------------------------------------- /img/Pasted image 20250925133048.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haandfeng/Zuo-Algorithm-Cpp/HEAD/img/Pasted image 20250925133048.png -------------------------------------------------------------------------------- /img/Pasted image 20250925135549.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haandfeng/Zuo-Algorithm-Cpp/HEAD/img/Pasted image 20250925135549.png -------------------------------------------------------------------------------- /img/Pasted image 20250925135613.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haandfeng/Zuo-Algorithm-Cpp/HEAD/img/Pasted image 20250925135613.png -------------------------------------------------------------------------------- /img/Pasted image 20250927140643.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haandfeng/Zuo-Algorithm-Cpp/HEAD/img/Pasted image 20250927140643.png -------------------------------------------------------------------------------- /img/Pasted image 20250927160216.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haandfeng/Zuo-Algorithm-Cpp/HEAD/img/Pasted image 20250927160216.png -------------------------------------------------------------------------------- /img/Pasted image 20250927222453.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haandfeng/Zuo-Algorithm-Cpp/HEAD/img/Pasted image 20250927222453.png -------------------------------------------------------------------------------- /img/Pasted image 20250927225945.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haandfeng/Zuo-Algorithm-Cpp/HEAD/img/Pasted image 20250927225945.png -------------------------------------------------------------------------------- /img/Pasted image 20250927230834.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haandfeng/Zuo-Algorithm-Cpp/HEAD/img/Pasted image 20250927230834.png -------------------------------------------------------------------------------- /img/Pasted image 20250928224128.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haandfeng/Zuo-Algorithm-Cpp/HEAD/img/Pasted image 20250928224128.png -------------------------------------------------------------------------------- /img/Pasted image 20250929221123.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haandfeng/Zuo-Algorithm-Cpp/HEAD/img/Pasted image 20250929221123.png -------------------------------------------------------------------------------- /img/Pasted image 20251002143407.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haandfeng/Zuo-Algorithm-Cpp/HEAD/img/Pasted image 20251002143407.png -------------------------------------------------------------------------------- /img/Pasted image 20251004235110.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haandfeng/Zuo-Algorithm-Cpp/HEAD/img/Pasted image 20251004235110.png -------------------------------------------------------------------------------- /img/Pasted image 20251004235157.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haandfeng/Zuo-Algorithm-Cpp/HEAD/img/Pasted image 20251004235157.png -------------------------------------------------------------------------------- /img/Pasted image 20251013220202.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haandfeng/Zuo-Algorithm-Cpp/HEAD/img/Pasted image 20251013220202.png -------------------------------------------------------------------------------- /img/Pasted image 20251015203953.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haandfeng/Zuo-Algorithm-Cpp/HEAD/img/Pasted image 20251015203953.png -------------------------------------------------------------------------------- /img/Pasted image 20251018143732.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haandfeng/Zuo-Algorithm-Cpp/HEAD/img/Pasted image 20251018143732.png -------------------------------------------------------------------------------- /img/Pasted image 20251018144157.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haandfeng/Zuo-Algorithm-Cpp/HEAD/img/Pasted image 20251018144157.png -------------------------------------------------------------------------------- /img/Pasted image 20251018173229.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haandfeng/Zuo-Algorithm-Cpp/HEAD/img/Pasted image 20251018173229.png -------------------------------------------------------------------------------- /img/Pasted image 20251104234555.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haandfeng/Zuo-Algorithm-Cpp/HEAD/img/Pasted image 20251104234555.png -------------------------------------------------------------------------------- /img/Pasted image 20251123215640.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haandfeng/Zuo-Algorithm-Cpp/HEAD/img/Pasted image 20251123215640.png -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/002. 知识点总结/20. 算法知识点/闫氏DP分析法.md: -------------------------------------------------------------------------------- 1 | # 闫氏DP分析法 2 | 3 | --- 4 | 5 | https://www.acwing.com/blog/content/1971/ 6 | 7 | -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/004. 刷题经验总结/集合滚动法.md: -------------------------------------------------------------------------------- 1 | # 集合滚动法 2 | 3 | --- 4 | 在罗列所有产生的可能的数对时候使用 5 | 6 | 1521.[[找到最接近目标值的函数值]] [H] 7 | 8 | 9 | -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/004. 刷题经验总结/需要二维排序的题目.md: -------------------------------------------------------------------------------- 1 | # 需要二维排序的题目 2 | 3 | 4 | --- 5 | 6 | - [[给你一批信封,返回最大的嵌套层数]] 7 | 第一维数据由小到大, 第二维数据由大到小 -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/100. 算法课程/31. 训练营第4期/第5节.md: -------------------------------------------------------------------------------- 1 | - 题目1: [[最长回文子序列]] 2 | - 题目2: [[蛇走的轨迹问题]] 3 | - 题目3: [[基本计算器]] 4 | - 题目4: [[子序列回文]] 5 | -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/100. 算法课程/32. 训练营第5期/第6节.md: -------------------------------------------------------------------------------- 1 | - 题目1: [[移除盒子]] 2 | - 题目2: [[奇怪的打印机]] 3 | - 题目3: [[最小区间]] 4 | - 题目4: [[还原数组丢失的数字]] 5 | -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/200. ★算法题目汇总★/★算法面试题汇总/外观数列.md: -------------------------------------------------------------------------------- 1 | # 外观数列 2 | 3 | [E] 4 | 5 | --- 6 | https://leetcode-cn.com/problems/count-and-say/ -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/200. ★算法题目汇总★/★算法面试题汇总/数组中不同数字的个数.md: -------------------------------------------------------------------------------- 1 | # 数组中不同数字的个数 2 | #双指针 3 | 4 | --- 5 | 6 | 给定一个数组arr,先递减然后递增,返回arr中有多少个不同的数字? -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/200. ★算法题目汇总★/★算法面试题汇总/移动零.md: -------------------------------------------------------------------------------- 1 | # 移动零 2 | 3 | [E] 4 | 5 | --- 6 | 7 | https://leetcode-cn.com/problems/move-zeroes -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/200. ★算法题目汇总★/★算法面试题汇总/背包问题的动态规划解法.md: -------------------------------------------------------------------------------- 1 | # 背包问题的动态规划解法 2 | 3 | #动态规划 4 | 5 | 6 | --- 7 | 8 | ref: [[背包能装下最多的价值]] -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/200. ★算法题目汇总★/★算法面试题汇总/解数独.md: -------------------------------------------------------------------------------- 1 | # 解数独 2 | 3 | [H] 4 | 5 | --- 6 | https://leetcode-cn.com/problems/sudoku-solver/ -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/200. ★算法题目汇总★/★算法面试题汇总/解码方法.md: -------------------------------------------------------------------------------- 1 | # 解码方法 2 | [M] 3 | 4 | --- 5 | https://leetcode-cn.com/problems/decode-ways/ 6 | -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/200. ★算法题目汇总★/★算法面试题汇总/跳跃游戏.md: -------------------------------------------------------------------------------- 1 | # 跳跃游戏 2 | 3 | [M] 4 | 5 | --- 6 | 7 | https://leetcode-cn.com/problems/jump-game/ -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/200. ★算法题目汇总★/算法群面试题/1119-拓扑排序DFS解法.md: -------------------------------------------------------------------------------- 1 | # 1119-拓扑排序DFS解法 2 | 3 | #拓扑排序 4 | 5 | --- 6 | 7 | [[拓扑排序DFS解法]] 8 | -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/200. ★算法题目汇总★/练习题/自己改动态规划的题目.md: -------------------------------------------------------------------------------- 1 | # 自己改动态规划的题目 2 | 3 | --- 4 | 5 | 6 | [[自由之路]] 7 | 彻底动态规划的方法请同学们自己改出 8 | 9 | -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/appendix/prim.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haandfeng/Zuo-Algorithm-Cpp/HEAD/算法笔记/zuoAlgorithm/appendix/prim.gif -------------------------------------------------------------------------------- /.obsidian/plugins/obsidian-Latex2MathJax/eslint.config.mjs: -------------------------------------------------------------------------------- 1 | import antfu from '@antfu/eslint-config' 2 | 3 | export default antfu() 4 | -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/004. 刷题经验总结/找到一个数所有的质数因子.md: -------------------------------------------------------------------------------- 1 | # 找到一个数所有的质数因子 2 | 3 | 4 | --- 5 | 6 | [[010. 代码模板/找到一个数所有的质数因子]] 7 | 8 | [[找到一个数所有的因子]] -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/100. 算法课程/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haandfeng/Zuo-Algorithm-Cpp/HEAD/算法笔记/zuoAlgorithm/100. 算法课程/.DS_Store -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/100. 算法课程/32. 训练营第5期/第4节.md: -------------------------------------------------------------------------------- 1 | - 题目1: [[画匠问题]] 2 | - 题目2: [[丢棋子问题]] 3 | - 题目3: [[邮局选址问题]] 4 | - 题目4: [[求数组调整之后的逆序对数量]] 5 | -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/200. ★算法题目汇总★/★算法面试题汇总/3的幂.md: -------------------------------------------------------------------------------- 1 | # 3的幂 2 | 3 | [E] 4 | 5 | --- 6 | https://leetcode-cn.com/problems/power-of-three 7 | -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/200. ★算法题目汇总★/★算法面试题汇总/二叉树的子树与子拓扑结构.md: -------------------------------------------------------------------------------- 1 | # 二叉树的子树与子拓扑结构 2 | 3 | 4 | --- 5 | 6 | 7 | 二叉树的子树是任意一个节点下面全部都要 区别于 子拓扑结构(部分) -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/200. ★算法题目汇总★/★算法面试题汇总/二维数组直方图装水.md: -------------------------------------------------------------------------------- 1 | # 二维数组直方图装水 2 | 3 | 4 | --- 5 | 如果给你一个二维数组,每一个值表示这一块地形的高度, 6 | 求整块地形能装下多少水。 7 | -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/200. ★算法题目汇总★/★算法面试题汇总/单词搜索.md: -------------------------------------------------------------------------------- 1 | # 单词搜索 2 | 3 | [M] 4 | 5 | --- 6 | https://leetcode-cn.com/problems/word-search/ 7 | -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/200. ★算法题目汇总★/★算法面试题汇总/子集.md: -------------------------------------------------------------------------------- 1 | # 子集 Subset 2 | [M] 3 | 4 | --- 5 | 6 | https://leetcode-cn.com/problems/subsets/ 7 | -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/200. ★算法题目汇总★/★算法面试题汇总/排序链表.md: -------------------------------------------------------------------------------- 1 | # 排序链表 2 | 3 | [M] 4 | 5 | --- 6 | 7 | https://leetcode-cn.com/problems/sort-list 8 | -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/200. ★算法题目汇总★/★算法面试题汇总/相等的子串个数.md: -------------------------------------------------------------------------------- 1 | # 相等的子串个数 2 | 3 | #美团 4 | 5 | --- 6 | 7 | 8 | 给定两个字符串s1和s2 9 | 返回在s1中有多少个子串等于s2 -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/200. ★算法题目汇总★/★算法面试题汇总/统计目录下的文件数量.md: -------------------------------------------------------------------------------- 1 | # 统计目录下的文件数量 2 | 3 | --- 4 | 5 | 给定一个文件目录的路径,写一个函数统计这个目录下所有的文件数量并返回隐藏文件也算,但是文件夹不算 -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/200. ★算法题目汇总★/★算法面试题汇总/转化逆波兰式为中序表达式.md: -------------------------------------------------------------------------------- 1 | # 转化逆波兰式为中序表达式 2 | 3 | --- 4 | 5 | 给定一个逆波兰式 6 | 转化成正确的中序表达式 7 | 要求只有必要加括号的地方才加括号 -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/200. ★算法题目汇总★/★算法面试题汇总/重构字符串.md: -------------------------------------------------------------------------------- 1 | # 重构字符串 2 | [M] 3 | 4 | --- 5 | 6 | https://leetcode-cn.com/problems/reorganize-string/ -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/200. ★算法题目汇总★/★算法面试题汇总/阶乘计算.md: -------------------------------------------------------------------------------- 1 | # 阶乘计算 2 | 3 | --- 4 | 5 | 给定一个参数N, 6 | 7 | 返回: 1! + 2! + 3! + 4! + … + N! 的结果 8 | -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/200. ★算法题目汇总★/算法群面试题/1015-中缀转后缀表达式.md: -------------------------------------------------------------------------------- 1 | # 中缀转后缀表达式 2 | 3 | 4 | --- 5 | 6 | 7 | [[中缀转后缀表达式]] 8 | 9 | 10 | -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/001. 难点重点照顾/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haandfeng/Zuo-Algorithm-Cpp/HEAD/算法笔记/zuoAlgorithm/001. 难点重点照顾/.DS_Store -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/001. 难点重点照顾/_数学基础知识点.md: -------------------------------------------------------------------------------- 1 | # 数学基础知识点 2 | 3 | 4 | --- 5 | 6 | 7 | 8 | - [[质数]] 9 | - [[牛顿迭代法开根号]] 10 | - [[最大公约数]] -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/002. 知识点总结/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haandfeng/Zuo-Algorithm-Cpp/HEAD/算法笔记/zuoAlgorithm/002. 知识点总结/.DS_Store -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/004. 刷题经验总结/需要改写有序表的题目.md: -------------------------------------------------------------------------------- 1 | 需要改写有序表的题目 2 | 3 | 4 | --- 5 | 6 | 7 | - [[区间和达标的子数组数量]] 8 | - [[滑动窗口中位数]] 9 | 10 | -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/100. 算法课程/01. 体系学习班/42 四边形不等式技巧(下).md: -------------------------------------------------------------------------------- 1 | # 四边形不等式技巧(下) 2 | 3 | --- 4 | 5 | 题目一: [[邮局选址问题]] 6 | 7 | 题目二: [[丢棋子问题]] 8 | 9 | -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/100. 算法课程/32. 训练营第5期/第2节.md: -------------------------------------------------------------------------------- 1 | - 题目1: [[距离首都距离]] 2 | - 题目2: [[分糖果问题]] 3 | - 题目3: [[二叉树放置照相机]] 4 | - 题目4: [[数组最大的三子数组的最大和]] 5 | -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/200. ★算法题目汇总★/★算法面试题汇总/单词接龙.md: -------------------------------------------------------------------------------- 1 | # 单词接龙 2 | 3 | [M] 4 | 5 | --- 6 | 7 | https://leetcode-cn.com/problems/word-ladder 8 | -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/200. ★算法题目汇总★/★算法面试题汇总/合并区间.md: -------------------------------------------------------------------------------- 1 | # 合并区间 2 | 3 | [M] 4 | 5 | --- 6 | https://leetcode-cn.com/problems/merge-intervals/ 7 | -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/200. ★算法题目汇总★/★算法面试题汇总/奇偶链表.md: -------------------------------------------------------------------------------- 1 | # 奇偶链表 2 | 3 | [M] 4 | 5 | --- 6 | https://leetcode-cn.com/problems/odd-even-linked-list 7 | -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/200. ★算法题目汇总★/★算法面试题汇总/寻找峰值.md: -------------------------------------------------------------------------------- 1 | # 寻找峰值 2 | [M] 3 | 4 | --- 5 | 6 | https://leetcode-cn.com/problems/find-peak-element 7 | -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/200. ★算法题目汇总★/★算法面试题汇总/岛屿数量.md: -------------------------------------------------------------------------------- 1 | # 岛屿数量 2 | [M] 3 | 4 | --- 5 | 6 | https://leetcode-cn.com/problems/number-of-islands 7 | -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/200. ★算法题目汇总★/★算法面试题汇总/最长公共前缀.md: -------------------------------------------------------------------------------- 1 | # 最长公共前缀 2 | [E] 3 | 4 | -- 5 | 6 | https://leetcode-cn.com/problems/longest-common-prefix/ -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/200. ★算法题目汇总★/★算法面试题汇总/求数组中哪两个数与的结果最大.md: -------------------------------------------------------------------------------- 1 | # 求数组中哪两个数与的结果最大 2 | 3 | --- 4 | 5 | 给定一个正数组成的数组,长度一定大于1,求数组中哪两个数与的结果最大 6 | 7 | -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/200. ★算法题目汇总★/★算法面试题汇总/组合总和.md: -------------------------------------------------------------------------------- 1 | # 组合总和 2 | 3 | [M] 4 | 5 | --- 6 | 7 | https://leetcode-cn.com/problems/combination-sum/ -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/200. ★算法题目汇总★/★算法面试题汇总/给定一个整型矩阵,返回子矩阵的最大累加和.md: -------------------------------------------------------------------------------- 1 | # 给定一个整型矩阵,返回子矩阵的最大累加和 2 | 3 | 4 | 5 | --- 6 | 给定一个整型矩阵,返回子矩阵的最大累计和。 7 | -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/200. ★算法题目汇总★/★算法面试题汇总/课程表.md: -------------------------------------------------------------------------------- 1 | # 课程表 2 | 3 | [M] 4 | 5 | --- 6 | 7 | https://leetcode-cn.com/problems/course-schedule 8 | -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/200. ★算法题目汇总★/★算法面试题汇总/通配符匹配.md: -------------------------------------------------------------------------------- 1 | # 通配符匹配 2 | 3 | [H] 4 | 5 | --- 6 | https://leetcode-cn.com/problems/wildcard-matching/ 7 | -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/200. ★算法题目汇总★/★算法面试题汇总/颠倒二进制位.md: -------------------------------------------------------------------------------- 1 | # 颠倒二进制位 2 | 3 | [E] 4 | 5 | --- 6 | https://leetcode-cn.com/problems/reverse-bits 7 | -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/200. ★算法题目汇总★/算法群面试题/1124-分割数组为累加和接近的两个集合.md: -------------------------------------------------------------------------------- 1 | # 1124-分割数组为累加和接近的两个集合 2 | 3 | 字节跳动 4 | 5 | --- 6 | 7 | - [[分割数组为累加和接近的两个集合]] -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/002. 知识点总结/20. 算法知识点/二维堆.md: -------------------------------------------------------------------------------- 1 | # 二维堆 2 | 3 | --- 4 | 5 | ![[Pasted image 20201217183701.png|400]] 6 | 7 | [[求出每天热门Top100词汇]] 8 | -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/002. 知识点总结/20. 算法知识点/数位DP.md: -------------------------------------------------------------------------------- 1 | # 数位DP 2 | 3 | #数位DP 4 | 5 | 6 | 7 | --- 8 | 占比在所有面试题<5% 9 | 10 | [[1~N中所有数字包含1的个数]] -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/002. 知识点总结/20. 算法知识点/时间复杂度盲区补充.md: -------------------------------------------------------------------------------- 1 | # 时间复杂度盲区补充 2 | #硬背 3 | 4 | --- 5 | 6 | n/1 + n/2 + n/3 + n/4 + ... + n/n -> O(N * logN) 7 | -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/002. 知识点总结/20. 算法知识点/线索二叉树.md: -------------------------------------------------------------------------------- 1 | # 线索二叉树 2 | 3 | --- 4 | 5 | 利用这种类似于Moriss遍历的形式, 下级节点能用我的空闲指针能够走上去 6 | 不是线段树, 完全是两个概念 7 | 8 | 9 | -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/100. 算法课程/32. 训练营第5期/第1节.md: -------------------------------------------------------------------------------- 1 | - 题目1: [[玄变字符串]] 2 | - 题目2: [[最短包含子串]] 3 | - 题目3: [[LFU内存替换算法的实现]] 4 | - 题目4: [[加油站的良好出发点问题]] 5 | -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/100. 算法课程/33. 经典面试题讲解/经典面试题目27.md: -------------------------------------------------------------------------------- 1 | # 经典面试题目(二十七) 2 | 3 | --- 4 | 第5期第3节: 5 | 6 | - 题目1: [[牛牛分田地]] 7 | - 题目2: [[粘在天花板上的数字与炸弹|打砖块]] -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/100. 算法课程/41. LeetCodeTop100Like/leetcode高频题目全讲(29).md: -------------------------------------------------------------------------------- 1 | # 1101(上午) 2 | 3 | 4 | --- 5 | 6 | 7 | [[最少按几次开关才能点亮所有的灯]] 8 | 9 | -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/200. ★算法题目汇总★/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haandfeng/Zuo-Algorithm-Cpp/HEAD/算法笔记/zuoAlgorithm/200. ★算法题目汇总★/.DS_Store -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/200. ★算法题目汇总★/★算法面试题汇总/N个无差别节点有多少种组成二叉数的方式.md: -------------------------------------------------------------------------------- 1 | # N个无差别节点有多少种组成二叉数的方式 2 | 3 | #卡特兰数 4 | 5 | --- 6 | 7 | 一共有N个无差别节点, 有多少种组成二叉数的方式 -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/200. ★算法题目汇总★/★算法面试题汇总/不同路径.md: -------------------------------------------------------------------------------- 1 | # 不同路径 2 | 3 | [M] 4 | 5 | 62.不同路径 6 | 7 | --- 8 | https://leetcode-cn.com/problems/unique-paths -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/200. ★算法题目汇总★/★算法面试题汇总/不能相邻的最大子序列累加和.md: -------------------------------------------------------------------------------- 1 | # 不能相邻的最大子序列累加和 2 | 3 | #美团 4 | 5 | --- 6 | 7 | 返回一个数组中,选择的数字不能相邻的情况下, 8 | 最大子序列累加和 9 | -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/200. ★算法题目汇总★/★算法面试题汇总/两整数之和.md: -------------------------------------------------------------------------------- 1 | # 两整数之和 2 | 3 | [E] 4 | 5 | --- 6 | https://leetcode-cn.com/problems/sum-of-two-integers 7 | -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/200. ★算法题目汇总★/★算法面试题汇总/分割回文串.md: -------------------------------------------------------------------------------- 1 | # 分割回文串 2 | 3 | [M] 4 | 5 | --- 6 | https://leetcode-cn.com/problems/palindrome-partitioning 7 | -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/200. ★算法题目汇总★/★算法面试题汇总/判定井字棋胜负.md: -------------------------------------------------------------------------------- 1 | # 判定井字棋胜负 2 | 3 | [M] 4 | 5 | --- 6 | https://leetcode-cn.com/problems/design-tic-tac-toe 7 | -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/200. ★算法题目汇总★/★算法面试题汇总/合并两个有序数组.md: -------------------------------------------------------------------------------- 1 | # 合并两个有序数组 2 | 3 | [E] 4 | 5 | --- 6 | https://leetcode-cn.com/problems/merge-sorted-array/ -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/200. ★算法题目汇总★/★算法面试题汇总/字母异位词分组.md: -------------------------------------------------------------------------------- 1 | # 字母异位词分组 2 | 3 | [M] 4 | 5 | --- 6 | https://leetcode-cn.com/problems/group-anagrams/ 7 | -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/200. ★算法题目汇总★/★算法面试题汇总/打家劫舍 III.md: -------------------------------------------------------------------------------- 1 | # 打家劫舍 III 2 | 3 | [M] 4 | 5 | --- 6 | 7 | https://leetcode-cn.com/problems/house-robber-iii/ -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/200. ★算法题目汇总★/★算法面试题汇总/最大嵌套的括号层数.md: -------------------------------------------------------------------------------- 1 | # 最大嵌套的括号层数 2 | 3 | 4 | --- 5 | 6 | 7 | 遇到左括号count++, 遇到右括号count--, count能达到的最大值就是最大嵌套层数 -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/200. ★算法题目汇总★/★算法面试题汇总/最小栈.md: -------------------------------------------------------------------------------- 1 | # 最小栈 2 | [E] 3 | 4 | --- 5 | 6 | https://leetcode-cn.com/problems/min-stack 7 | 8 | [[实现最小栈]] -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/200. ★算法题目汇总★/★算法面试题汇总/最长递增子序列问题的O(NxlogN)的解法.md: -------------------------------------------------------------------------------- 1 | # 最长递增子序列问题的O(N*logN)的解法 2 | 3 | 4 | 5 | --- 6 | 最长递增子序列问题的O(N*logN)的解法 7 | -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/200. ★算法题目汇总★/★算法面试题汇总/杨辉三角.md: -------------------------------------------------------------------------------- 1 | # 杨辉三角 2 | 3 | [E] 4 | 5 | --- 6 | 7 | https://leetcode-cn.com/problems/pascals-triangle 8 | -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/200. ★算法题目汇总★/★算法面试题汇总/爬楼梯.md: -------------------------------------------------------------------------------- 1 | # 爬楼梯 2 | 3 | [E] 4 | 5 | 6 | 7 | --- 8 | 9 | https://leetcode-cn.com/problems/climbing-stairs/ -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/200. ★算法题目汇总★/★算法面试题汇总/验证回文串.md: -------------------------------------------------------------------------------- 1 | # 验证回文串 2 | 3 | [E] 4 | 5 | --- 6 | https://leetcode-cn.com/problems/valid-palindrome 7 | 8 | -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/300. 算法题目分类总结/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haandfeng/Zuo-Algorithm-Cpp/HEAD/算法笔记/zuoAlgorithm/300. 算法题目分类总结/.DS_Store -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/002. 知识点总结/20. 算法知识点/Tarjan算法.md: -------------------------------------------------------------------------------- 1 | # Tarjan算法 2 | 3 | --- 4 | 是一个[[离线和在线算法|离线算法]] 5 | 6 | [[二叉树节点间最近公共祖先的批量查询问题]]: 并查集求解 7 | 8 | 9 | -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/100. 算法课程/03. 算法营养课/2021年12月第1周.md: -------------------------------------------------------------------------------- 1 | # 2021年12月第1周 2 | 3 | --- 4 | 5 | [[城市间的最短距离]] 6 | 7 | [[N步内生成最多个A]] 8 | 9 | 652.[[寻找重复的子树]] [M] -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/200. ★算法题目汇总★/★算法面试题汇总/Fizz Buzz.md: -------------------------------------------------------------------------------- 1 | # Fizz Buzz 2 | 3 | 4 | [E] 5 | 6 | --- 7 | 8 | https://leetcode-cn.com/problems/fizz-buzz 9 | -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/200. ★算法题目汇总★/★算法面试题汇总/判断二叉树是不是满二叉树.md: -------------------------------------------------------------------------------- 1 | # 判断二叉树是不是满二叉树 2 | 3 | #二叉树的递归套路 4 | 5 | 6 | 7 | --- 8 | 给定一棵二叉树的头节点head,返回这颗二叉树是不是满二叉树 9 | -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/200. ★算法题目汇总★/★算法面试题汇总/子序列中字面值等于字符串T的个数.md: -------------------------------------------------------------------------------- 1 | # 子序列中字面值等于字符串T的个数 2 | 3 | --- 4 | 5 | 给定两个字符串S和T 6 | 返回S的所有子序列中 7 | 有多少个子序列的字面值等于T 8 | -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/200. ★算法题目汇总★/★算法面试题汇总/字符串转换整数 (atoi).md: -------------------------------------------------------------------------------- 1 | # 字符串转换整数 (atoi) 2 | 3 | 4 | --- 5 | https://leetcode-cn.com/problems/string-to-integer-atoi/ -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/200. ★算法题目汇总★/★算法面试题汇总/打家劫舍.md: -------------------------------------------------------------------------------- 1 | # 打家劫舍 2 | 3 | [M] 4 | 5 | 198.打家劫舍 6 | 7 | --- 8 | https://leetcode-cn.com/problems/house-robber 9 | -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/200. ★算法题目汇总★/★算法面试题汇总/搜寻名人.md: -------------------------------------------------------------------------------- 1 | # 搜寻名人 2 | 3 | [M] 4 | 5 | --- 6 | 7 | 8 | https://leetcode-cn.com/problems/find-the-celebrity 9 | -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/200. ★算法题目汇总★/★算法面试题汇总/摆动排序.md: -------------------------------------------------------------------------------- 1 | # 摆动排序 2 | 3 | 280.摆动排序 4 | 5 | [M] 6 | 7 | --- 8 | https://leetcode-cn.com/problems/wiggle-sort/ 9 | -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/200. ★算法题目汇总★/★算法面试题汇总/矩阵置零.md: -------------------------------------------------------------------------------- 1 | # 矩阵置零 2 | 3 | [M] 4 | 5 | --- 6 | 7 | https://leetcode-cn.com/problems/set-matrix-zeroes/ 8 | 9 | -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/200. ★算法题目汇总★/★算法面试题汇总/课程表 II.md: -------------------------------------------------------------------------------- 1 | # 课程表 II 2 | 3 | [M] 4 | 5 | --- 6 | 7 | 8 | https://leetcode-cn.com/problems/course-schedule-ii -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/200. ★算法题目汇总★/算法群面试题/1116-快手.md: -------------------------------------------------------------------------------- 1 | # 1116-快手 2 | 3 | --- 4 | 5 | 454.[[四数相加 II]] [中等] 6 | 7 | 143.[[重排链表]] [中等] 类似 [[判断链表是否为回文结构]] -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/appendix/DC3_Algorithm.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haandfeng/Zuo-Algorithm-Cpp/HEAD/算法笔记/zuoAlgorithm/appendix/DC3_Algorithm.pdf -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/003. 编程基础技巧及工具/数组L...R范围上的累加和计算.md: -------------------------------------------------------------------------------- 1 | # 数组L...R范围上的累加和计算 2 | 3 | #预处理数组 4 | 5 | 6 | --- 7 | 利用[[前缀和数组]] 8 | 9 | - [[数组L...R范围上的累加和计算代码]] -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/004. 刷题经验总结/跟面试官聊的算法.md: -------------------------------------------------------------------------------- 1 | # 跟面试官聊的算法 2 | 3 | 4 | --- 5 | 6 | 7 | [[银行家算法]] 8 | [[网络流算法]] 9 | [[红黑树]] 10 | 11 | 12 | -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/100. 算法课程/03. 算法营养课/2022年1月第3周.md: -------------------------------------------------------------------------------- 1 | # 2022年1月第3周 2 | 3 | --- 4 | 5 | ## [[A*算法]] 6 | 7 | 1036. [[逃离大迷宫]] 8 | 9 | [[累加和>=k的所有子数组中的最短长度]] -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/100. 算法课程/31. 训练营第4期/第7节.md: -------------------------------------------------------------------------------- 1 | - 题目1: [[项目经理和程序员]] 2 | - 题目2: [[调整BST中错误的两个节点]] 3 | - 题目3: [[能够互相看见环形山的对数]] 4 | - 题目4: [[非负数组子序列中累加和%m的最大值]] -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/100. 算法课程/33. 经典面试题讲解/经典面试题目30.md: -------------------------------------------------------------------------------- 1 | # 经典面试题目(三十) 2 | 3 | --- 4 | 第5期第7节: 5 | - 题目1: [[TSP问题 ]] 6 | - 题目2: [[铺瓷砖问题]] 7 | 8 | 拓展: 铺瓷砖M* N问题 -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/1000.Misc/缩略语.md: -------------------------------------------------------------------------------- 1 | # 缩略语 2 | 3 | --- 4 | 5 | OA = Online Assessment 6 | 7 | OJ = Online Judge 8 | 9 | Phone Interview 10 | 11 | -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/200. ★算法题目汇总★/★算法面试题汇总/只出现一次的数字.md: -------------------------------------------------------------------------------- 1 | # 只出现一次的数字 2 | 3 | 4 | [E] 5 | 6 | 7 | --- 8 | 9 | https://leetcode-cn.com/problems/single-number -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/200. ★算法题目汇总★/★算法面试题汇总/子数组长度不超过M的最大累加和.md: -------------------------------------------------------------------------------- 1 | # 子数组长度不超过M的最大累加和 2 | 3 | --- 4 | 5 | 给定一个数组arr,和一个正数M, 6 | 返回在arr的子数组在长度不超过M的情况下,最大的累加和 7 | -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/200. ★算法题目汇总★/★算法面试题汇总/数组最大的三子数组的最大和.md: -------------------------------------------------------------------------------- 1 | # 数组最大的三子数组的最大和 2 | 3 | 4 | --- 5 | 给定一个数组arr,给定一个正数k。选出3个不重叠的子数组,每个子数组长度都是k,返回最大的三子数组的最大和。 6 | -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/200. ★算法题目汇总★/★算法面试题汇总/某搜索公司一天的用户搜索词汇是海量的, 求出每天热门Top100词汇.md: -------------------------------------------------------------------------------- 1 | # 某搜索公司一天的用户搜索词汇是海量的, 求出每天热门Top100词汇 2 | 3 | 4 | --- 5 | 6 | [[资源限制技巧汇总]] -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/200. ★算法题目汇总★/★算法面试题汇总/直线上最多的点数.md: -------------------------------------------------------------------------------- 1 | # 直线上最多的点数 2 | 3 | [H] 4 | 5 | --- 6 | 7 | https://leetcode-cn.com/problems/max-points-on-a-line 8 | -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/200. ★算法题目汇总★/★算法面试题汇总/长度为K的子序列和为偶数的个数.md: -------------------------------------------------------------------------------- 1 | # 长度为K的子序列和为偶数的个数 2 | #从左往右的尝试模型 3 | #动态规划 4 | 5 | --- 6 | 总长度为n的数组中,所有长度为k的子序列里,有多少子序列的和为偶数 -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/300. 算法题目分类总结/按题目系列分类/动态规划里的概率系列问题.md: -------------------------------------------------------------------------------- 1 | # 动态规划里的概率系列问题 2 | 3 | --- 4 | 5 | [[Bob生还的概率]] 6 | [[英雄砍死怪兽的概率]] 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/appendix/Pasted image 14.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haandfeng/Zuo-Algorithm-Cpp/HEAD/算法笔记/zuoAlgorithm/appendix/Pasted image 14.png -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/appendix/Pasted image 15.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haandfeng/Zuo-Algorithm-Cpp/HEAD/算法笔记/zuoAlgorithm/appendix/Pasted image 15.png -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/appendix/Pasted image 18.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haandfeng/Zuo-Algorithm-Cpp/HEAD/算法笔记/zuoAlgorithm/appendix/Pasted image 18.png -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/appendix/Pasted image 19.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haandfeng/Zuo-Algorithm-Cpp/HEAD/算法笔记/zuoAlgorithm/appendix/Pasted image 19.png -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/appendix/Pasted image 20.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haandfeng/Zuo-Algorithm-Cpp/HEAD/算法笔记/zuoAlgorithm/appendix/Pasted image 20.png -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/appendix/Pasted image 21.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haandfeng/Zuo-Algorithm-Cpp/HEAD/算法笔记/zuoAlgorithm/appendix/Pasted image 21.png -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/appendix/Pasted image 22.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haandfeng/Zuo-Algorithm-Cpp/HEAD/算法笔记/zuoAlgorithm/appendix/Pasted image 22.png -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/appendix/Pasted image 23.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haandfeng/Zuo-Algorithm-Cpp/HEAD/算法笔记/zuoAlgorithm/appendix/Pasted image 23.png -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/appendix/Pasted image 24.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haandfeng/Zuo-Algorithm-Cpp/HEAD/算法笔记/zuoAlgorithm/appendix/Pasted image 24.png -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/appendix/Pasted image 25.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haandfeng/Zuo-Algorithm-Cpp/HEAD/算法笔记/zuoAlgorithm/appendix/Pasted image 25.png -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/appendix/Pasted image 26.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haandfeng/Zuo-Algorithm-Cpp/HEAD/算法笔记/zuoAlgorithm/appendix/Pasted image 26.png -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/appendix/Pasted image 27.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haandfeng/Zuo-Algorithm-Cpp/HEAD/算法笔记/zuoAlgorithm/appendix/Pasted image 27.png -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/100. 算法课程/02. 大厂刷题班/大厂刷题班52.md: -------------------------------------------------------------------------------- 1 | # 大厂刷题班52 2 | 3 | --- 4 | 5 | 1488.[[避免洪水泛滥]] [M] 6 | 7 | 683.[[K 个关闭的灯泡]] [H] 8 | 9 | 656.[[金币路径]] [H] -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/100. 算法课程/32. 训练营第5期/第5节.md: -------------------------------------------------------------------------------- 1 | - 题目1: [[寻找回文串]] 2 | - 题目2: [[无序数组中最长的连续序列的长度]] 3 | - 题目3: [[二叉树节点间最近公共祖先的批量查询问题]] 4 | - 题目4: [[最大的全是1的子矩阵中1的数量]] 5 | -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/100. 算法课程/33. 经典面试题讲解/经典面试题目19.md: -------------------------------------------------------------------------------- 1 | # 经典面试题目(十九) 2 | 3 | --- 4 | 5 | 第4期第6节: 6 | 7 | - 题目1: [[整数拆分]] 8 | - 题目2: [[求1~N所有数字排列中,等于指定K个逆序对数的排列数]] -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/200. ★算法题目汇总★/★算法面试题汇总/二叉搜索树中的顺序后继.md: -------------------------------------------------------------------------------- 1 | # 二叉搜索树中的顺序后继 2 | 3 | [M] 4 | 5 | --- 6 | https://leetcode-cn.com/problems/inorder-successor-in-bst 7 | -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/200. ★算法题目汇总★/★算法面试题汇总/二叉搜索树中第K小的元素.md: -------------------------------------------------------------------------------- 1 | # 二叉搜索树中第K小的元素 2 | [M] 3 | 4 | --- 5 | https://leetcode-cn.com/problems/kth-smallest-element-in-a-bst 6 | -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/200. ★算法题目汇总★/★算法面试题汇总/二叉树中的最大路径和.md: -------------------------------------------------------------------------------- 1 | # 二叉树中的最大路径和 2 | 3 | [H] 4 | 5 | --- 6 | https://leetcode-cn.com/problems/binary-tree-maximum-path-sum 7 | -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/200. ★算法题目汇总★/★算法面试题汇总/二叉树的中序遍历.md: -------------------------------------------------------------------------------- 1 | # 二叉树的中序遍历 2 | 3 | [M] 4 | 5 | --- 6 | 7 | https://leetcode-cn.com/problems/binary-tree-inorder-traversal/ -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/200. ★算法题目汇总★/★算法面试题汇总/分数到小数.md: -------------------------------------------------------------------------------- 1 | # 分数到小数 2 | 3 | [E] 4 | 5 | --- 6 | 7 | https://leetcode-cn.com/problems/fraction-to-recurring-decimal 8 | -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/200. ★算法题目汇总★/★算法面试题汇总/平方之后的结果数.md: -------------------------------------------------------------------------------- 1 | # 平方之后的结果数 2 | #双指针 3 | 4 | --- 5 | 6 | 给定一个有序数组arr,其中值可能为正、负、0, 返回arr中每个数都平方之后不同的结果有多少种? 7 | 8 | 9 | -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/200. ★算法题目汇总★/★算法面试题汇总/找到数组中只出现1次的数.md: -------------------------------------------------------------------------------- 1 | # 找到数组中只出现1次的数 2 | 3 | 4 | 5 | --- 6 | 给定一个数组arr,已知除了一种数只出现1次之外,剩下所有的数都出现了k次,如何使用O(1)的额外空间,找到这个数。 7 | -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/200. ★算法题目汇总★/★算法面试题汇总/求数组中哪两个数或的结果最大.md: -------------------------------------------------------------------------------- 1 | # 求数组中哪两个数或的结果最大 2 | 3 | 4 | --- 5 | 6 | 给定一个正数组成的数组,长度一定大于1,求数组中哪两个数或的结果最大 7 | 8 | Ref: [[后缀树]] -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/200. ★算法题目汇总★/★算法面试题汇总/路径总和 III.md: -------------------------------------------------------------------------------- 1 | # 路径总和 III 2 | 3 | 437.路径总和 III 4 | 5 | [M] 6 | 7 | --- 8 | https://leetcode-cn.com/problems/path-sum-iii/ -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/300. 算法题目分类总结/按题目系列分类/数组累加和系列问题.md: -------------------------------------------------------------------------------- 1 | # 数组累加和系列问题 2 | 3 | --- 4 | 5 | [[子数组最大累加和]] 6 | [[给定一个整型矩阵,返回子矩阵的最大累加和]] 7 | [[长方形中任意矩阵的累加和]] 8 | -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/300. 算法题目分类总结/按题目系列分类/编辑距离系列问题.md: -------------------------------------------------------------------------------- 1 | # 编辑距离系列问题 2 | 3 | #编辑距离 4 | 5 | 6 | --- 7 | 8 | 搜索引擎模糊匹配用 9 | 10 | [[将str1编辑成str2的最小代价]] 11 | -------------------------------------------------------------------------------- /.obsidian/plugins/mousewheel-image-zoom/data.json: -------------------------------------------------------------------------------- 1 | { 2 | "modifierKey": "AltLeft", 3 | "stepSize": 25, 4 | "initialSize": 500, 5 | "resizeInCanvas": true 6 | } -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/100. 算法课程/02. 大厂刷题班/大厂刷题班44.md: -------------------------------------------------------------------------------- 1 | # 大厂刷题班44 2 | 3 | --- 4 | 992.[[K 个不同整数的子数组]] [H] 5 | 6 | 248.[[中心对称数 III]] [H] 7 | 8 | 317.[[离建筑物最近的距离]] [H] 9 | -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/100. 算法课程/03. 算法营养课/2022年7月第1周.md: -------------------------------------------------------------------------------- 1 | # 2022年7月第1周 2 | 3 | --- 4 | 5 | [[防风带的最大防风高度]] 6 | 7 | 2322.[[从树中删除边的最小分数]] [H] 8 | 9 | 2327.[[知道秘密的人数]] [M] -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/100. 算法课程/03. 算法营养课/2022年9月第2周.md: -------------------------------------------------------------------------------- 1 | # 2022年9月第2周 2 | --- 3 | 4 | [[小兵排列游戏]] 5 | 6 | [[达标数组的数量]] 7 | 8 | [[达标子串的最大长度]] 9 | 10 | [[最大的0连通区]] -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/100. 算法课程/31. 训练营第4期/第8节.md: -------------------------------------------------------------------------------- 1 | - 题目1: [[字符串匹配问题]] 2 | - 题目2: [[自由之路]] 3 | - 题目3: [[打气球的最大分数]] 4 | - 题目4: [[汉诺塔游戏中的最优状态]] 5 | - 题目5: [[合并相邻K个数字的最小代价]] 6 | -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/200. ★算法题目汇总★/★算法面试题汇总/double类型数x开根号保留小数点后k位.md: -------------------------------------------------------------------------------- 1 | # double类型数x开根号保留小数点后k位 2 | 3 | --- 4 | 5 | 先把小数点前的定出来 , 小数点后的二分 去尝试的时候是转化出原本这个 double 的东西去试的 6 | -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/200. ★算法题目汇总★/★算法面试题汇总/不给单链表的头节点删除指定节点.md: -------------------------------------------------------------------------------- 1 | # 不给单链表的头节点删除指定节点 2 | 3 | #链表 #坑题 4 | 5 | 6 | --- 7 | 8 | 能不能不给单链表的头节点,只给想要删除的节点,就能做到在链表上把这个点删掉? 9 | -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/200. ★算法题目汇总★/★算法面试题汇总/只出现两次的数.md: -------------------------------------------------------------------------------- 1 | # 只出现两次的数 2 | 3 | 4 | --- 5 | 6 | 7 | 给定一个int类型的数组arr,已知除了一种数只出现两次,之外 8 | 剩下所有的数都出现了k次,如何使用O(1)的额外空间,找到这个数 9 | -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/200. ★算法题目汇总★/★算法面试题汇总/和为K的子数组.md: -------------------------------------------------------------------------------- 1 | # 和为K的子数组 2 | 3 | [M] 4 | 5 | 560.和为K的子数组 6 | 7 | --- 8 | https://leetcode-cn.com/problems/subarray-sum-equals-k/ -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/200. ★算法题目汇总★/★算法面试题汇总/完全平方数.md: -------------------------------------------------------------------------------- 1 | # 完全平方数 2 | 3 | [M] 4 | 5 | --- 6 | 7 | https://leetcode-cn.com/problems/perfect-squares 8 | 9 | ref: [[四平方和定理]] -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/200. ★算法题目汇总★/★算法面试题汇总/最长同值路径.md: -------------------------------------------------------------------------------- 1 | # 最长同值路径 2 | [E] 3 | 4 | #二叉树的递归套路 5 | 6 | --- 7 | 8 | https://leetcode-cn.com/problems/longest-univalue-path/ -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/200. ★算法题目汇总★/★算法面试题汇总/电话号码的字母组合.md: -------------------------------------------------------------------------------- 1 | # 电话号码的字母组合 2 | [M] 3 | 4 | --- 5 | 6 | https://leetcode-cn.com/problems/letter-combinations-of-a-phone-number/ -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/200. ★算法题目汇总★/★算法面试题汇总/词频最大的前K个字符串.md: -------------------------------------------------------------------------------- 1 | # 词频最大的前K个字符串 2 | 3 | 4 | 5 | --- 6 | 给定一个由字符串组成的数组String[] strs,给定一个正数K 7 | 8 | 返回词频最大的前K个字符串,假设结果是唯一的 9 | -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/200. ★算法题目汇总★/★算法面试题汇总/返回数组中,有多少个独立的域.md: -------------------------------------------------------------------------------- 1 | # 返回数组中,有多少个独立的域 2 | 3 | 4 | 5 | --- 6 | 一个数组中,如果两个数的最小公共因子有大于1的,则认为这两个数之间有通路 7 | 8 | 返回数组中,有多少个独立的域 9 | -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/200. ★算法题目汇总★/★算法面试题汇总/非负数组中两个数相与的最大结果.md: -------------------------------------------------------------------------------- 1 | # 非负数组中两个数相与的最大结果 2 | 3 | --- 4 | 5 | 6 | 给定一个非负组成的数组,长度一定大于1 7 | 想知道数组中哪两个数&的结果最大 8 | 返回这个最大结果 9 | -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/100. 算法课程/03. 算法营养课/2022年3月第1周.md: -------------------------------------------------------------------------------- 1 | # 2022年3月第1周 2 | 3 | --- 4 | 5 | ## [[强连通分量]] 6 | 7 | [[学校间传输软件]] 8 | 9 | [[红人的总数]] 10 | 11 | [[炸弹的最少引爆次数]] -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/200. ★算法题目汇总★/★算法面试题汇总/x 的平方根.md: -------------------------------------------------------------------------------- 1 | # x 的平方根 2 | 3 | [E] 4 | 5 | --- 6 | https://leetcode-cn.com/problems/sqrtx/ 7 | 8 | 加题: 9 | [[double类型数x开根号保留小数点后k位]] -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/200. ★算法题目汇总★/★算法面试题汇总/两数相加的最小绝对值.md: -------------------------------------------------------------------------------- 1 | # 两数相加的最小绝对值 2 | 3 | #微软 4 | 5 | --- 6 | 7 | 给定一个数组arr,可能有正、有负、有0,无序 8 | 只能挑选两个数字,想尽量让两个数字加起来的绝对值尽量小 9 | 返回可能的最小的值 -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/200. ★算法题目汇总★/★算法面试题汇总/从左下角走到右下角的最短距离.md: -------------------------------------------------------------------------------- 1 | 2 | # 从左下角走到右下角的最短距离 3 | 4 | ---- 5 | 6 | 7 | 给定一个二维数组,其中全是非负数 8 | 每一步都可以往上、下、左、右四个方向运动 9 | 返回从左下角走到右下角的最短距离 -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/200. ★算法题目汇总★/★算法面试题汇总/卡特兰数题目一.md: -------------------------------------------------------------------------------- 1 | # 卡特兰数题目一 2 | 3 | #卡特兰数 4 | 5 | --- 6 | 有N个二叉树节点,每个节点彼此之间无任何差别 7 | 8 | 返回由N个二叉树节点,组成的不同结构数量是多少? 9 | 10 | -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/200. ★算法题目汇总★/★算法面试题汇总/字符串中的第一个唯一字符.md: -------------------------------------------------------------------------------- 1 | # 字符串中的第一个唯一字符 2 | 3 | [M] 4 | 5 | --- 6 | https://leetcode-cn.com/problems/first-unique-character-in-a-string 7 | -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/200. ★算法题目汇总★/★算法面试题汇总/字符串变为回文需要添加的最少字符.md: -------------------------------------------------------------------------------- 1 | # 字符串变为回文需要添加的最少字符 2 | 3 | #Manacher算法 4 | 5 | 6 | --- 7 | 8 | 给定一个字符串, 让它整体变回文字符串, 只能在后面添加字符, 最短加多少个 9 | -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/200. ★算法题目汇总★/★算法面试题汇总/最长回文子串.md: -------------------------------------------------------------------------------- 1 | # 最长回文子串 2 | #Manacher算法 3 | 4 | --- 5 | 6 | https://leetcode-cn.com/problems/longest-palindromic-substring/ 7 | 8 | -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/200. ★算法题目汇总★/★算法面试题汇总/朋友圈.md: -------------------------------------------------------------------------------- 1 | # 朋友圈 2 | 3 | [M] 4 | 5 | #并查集 6 | 7 | --- 8 | 9 | https://leetcode-cn.com/problems/friend-circles/ 10 | 11 | -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/200. ★算法题目汇总★/★算法面试题汇总/矩阵中的最长递增路径.md: -------------------------------------------------------------------------------- 1 | # 矩阵中的最长递增路径 2 | 3 | [M] 4 | 5 | --- 6 | https://leetcode-cn.com/problems/longest-increasing-path-in-a-matrix 7 | -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/200. ★算法题目汇总★/★算法面试题汇总/让数组有序.md: -------------------------------------------------------------------------------- 1 | # 让数组有序 2 | 3 | --- 4 | 5 | 6 | 给定两个数组A和B,长度都是N 7 | A[i]不可以在A中和其他数交换,只可以选择和B[i]交换(0<=i=k的所有子数组中的最短长度.md: -------------------------------------------------------------------------------- 1 | # 累加和>=k的所有子数组中的最短长度 2 | 3 | #字节跳动 4 | 5 | --- 6 | 给定一个数组arr,其中的值有可能正、负、0 7 | 给定一个正数k 8 | 返回累加和>=k的所有子数组中,最短的子数组长度 -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/200. ★算法题目汇总★/智力_概率题目/三人赛跑, 得第二三名的概率.md: -------------------------------------------------------------------------------- 1 | # 三人赛跑, 得第二三名的概率 2 | 3 | --- 4 | 5 | 概率问题:有3个人赛跑,得第一名概率分别是50%,30%,20% ,问30%此人得第二名概率为多少? 6 | 有无推广公式如6人时,第二,第三名概率各是多少 -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/002. 知识点总结/00. 编程语言相关/Java boolean 按位操作跟逻辑操作区别.md: -------------------------------------------------------------------------------- 1 | # Java boolean 按位操作跟逻辑操作区别 2 | 3 | --- 4 | 5 | boolean类型既可以使用&&和||做逻辑运算,也可以使用&和|做逻辑运算,但前者是经过优化的(执行短路运算),后者未优化。 -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/100. 算法课程/02. 大厂刷题班/大厂刷题班11.md: -------------------------------------------------------------------------------- 1 | 2 | # 大厂刷题班11 3 | 4 | --- 5 | 6 | 1312.[[让字符串成为回文串的最少插入次数]] [H] 7 | 8 | 132.[[分割回文串 II]] [H] 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/100. 算法课程/03. 算法营养课/2022年1月第4周.md: -------------------------------------------------------------------------------- 1 | # 2022年1月第4周 2 | --- 3 | 4 | [[购物单]] 5 | 6 | [[最小的总扣分量]] 7 | 8 | 419.[[甲板上的战舰]] 9 | 10 | 710.[[黑名单中的随机数]] 11 | 12 | -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/100. 算法课程/03. 算法营养课/2022年7月第4周.md: -------------------------------------------------------------------------------- 1 | # 2022年7月第4周 2 | --- 3 | 4 | [[Wiggle数组]] 5 | 6 | 473.[[火柴拼正方形]] [M] 7 | 8 | 1994.[[好子集的数目]] [H] 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/100. 算法课程/32. 训练营第5期/第3节.md: -------------------------------------------------------------------------------- 1 | - 题目1: [[牛牛分田地]] 2 | - 题目2: [[粘在天花板上的数字与炸弹|打砖块]] 3 | - 题目3: [[等累加和集合对中最大的累加和]] 4 | - 题目4: [[不同的子序列 II]] 5 | - 题目5: [[数组中全是1的最大正方形]] 6 | -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/200. ★算法题目汇总★/★算法面试题汇总/5亿个取值范围为0~10的亿整数中不存在的数.md: -------------------------------------------------------------------------------- 1 | # 5亿个取值范围为0~10亿的整数中不存在的数 2 | 3 | --- 4 | 5 | 文件中有5亿个取值范围为[0,10亿]的整数 给2MB内存空间 文件不能修改 只能读取 找出一个文件中不存在的数 6 | 7 | -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/200. ★算法题目汇总★/★算法面试题汇总/Internet Bandwidth.md: -------------------------------------------------------------------------------- 1 | # Internet Bandwidth 2 | #最大网络流算法 3 | 4 | 5 | --- 6 | 7 | https://lightoj.com/problem/internet-bandwidth 8 | 9 | -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/200. ★算法题目汇总★/★算法面试题汇总/不给头结点,删除单链表上的节点.md: -------------------------------------------------------------------------------- 1 | # 不给头结点,删除单链表上的节点 2 | 3 | --- 4 | 5 | ![[链表#[237. 删除链表中的节点](https //leetcode.cn/problems/delete-node-in-a-linked-list/)]] -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/200. ★算法题目汇总★/★算法面试题汇总/不重建直接生成二叉树的后续遍历数组.md: -------------------------------------------------------------------------------- 1 | # 不重建直接生成二叉树的后续遍历数组 2 | 3 | --- 4 | 如果只给定一个二叉树前序遍历数组pre和中序遍历数组in, 5 | 能否不重建树,而直接生成这个二叉树的后序数组并返回 6 | 已知二叉树中没有重复值 7 | 8 | -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/200. ★算法题目汇总★/★算法面试题汇总/二叉树上的相等子树.md: -------------------------------------------------------------------------------- 1 | # 二叉树上的相等子树 2 | 3 | --- 4 | 5 | 如果一个节点X,它左树结构和右树结构完全一样 6 | 那么我们说以X为头的子树是相等子树 7 | 给定一棵二叉树的头节点head 8 | 返回head整棵树上有多少棵相等子树 9 | -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/200. ★算法题目汇总★/★算法面试题汇总/二叉树中最大的二叉搜索子树的大小.md: -------------------------------------------------------------------------------- 1 | # 二叉树中最大的二叉搜索子树的大小 2 | 3 | #二叉树的递归套路 4 | 5 | 6 | --- 7 | 8 | 给定一棵二叉树的头节点head, 9 | 返回这颗二叉树中最大的二叉搜索子树的大小 10 | -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/200. ★算法题目汇总★/★算法面试题汇总/二维01矩阵中一共有多少个岛.md: -------------------------------------------------------------------------------- 1 | # 二维01矩阵中一共有多少个岛 2 | 3 | #并行算法 4 | 5 | --- 6 | 7 | 8 | 一个只有0和1两种数字的二维矩阵中,上下左右能练成一片的1,算一个岛 9 | 返回矩阵中,一共有几个岛 10 | -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/200. ★算法题目汇总★/★算法面试题汇总/删除排序数组中的重复项.md: -------------------------------------------------------------------------------- 1 | # 删除排序数组中的重复项 2 | 3 | [E] 4 | 5 | --- 6 | 7 | https://leetcode-cn.com/problems/remove-duplicates-from-sorted-array/ 8 | 9 | -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/200. ★算法题目汇总★/★算法面试题汇总/剪短绳子得到的最大价值.md: -------------------------------------------------------------------------------- 1 | # 剪短绳子得到的最大价值 2 | 3 | --- 4 | 5 | 给定绳子总长度为M,每一个长度的绳子对应一个价格,比如(6, 10)表示剪成长度为6的绳子,对应价格10 6 | 可以重复切出某个长度的绳子,返回总长度为M的情况下,能得到的最大价值 -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/200. ★算法题目汇总★/★算法面试题汇总/只做一次交易买卖股票的最大钱数.md: -------------------------------------------------------------------------------- 1 | # 只做一次交易买卖股票的最大钱数 2 | 3 | 4 | 5 | --- 6 | 给定一个数组arr,从左到右表示昨天从早到晚股票的价格。作为一个事后诸葛亮,你想知道如果只做一次交易,且每次交易只买卖一股,返回能挣到的最大钱数 7 | -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/200. ★算法题目汇总★/★算法面试题汇总/在无序数组中求第K小的数.md: -------------------------------------------------------------------------------- 1 | # 在无序数组中求第K小的数 2 | 3 | #快速排序 4 | #bfprt 5 | #荷兰国旗问题 6 | 7 | --- 8 | 9 | ref: [[无序数组找第k小或第k大(重要!)]] 10 | -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/200. ★算法题目汇总★/★算法面试题汇总/多次交易买卖股票的最大钱数.md: -------------------------------------------------------------------------------- 1 | # 多次交易买卖股票的最大钱数 2 | 3 | 4 | --- 5 | 给定一个数组arr,从左到右表示昨天从早到晚股票的价格 6 | 作为一个事后诸葛亮,你想知道如果随便交易, 7 | 且每次交易只买卖一股,返回能挣到的最大钱数 8 | -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/200. ★算法题目汇总★/★算法面试题汇总/子矩阵最大累加和.md: -------------------------------------------------------------------------------- 1 | # 子矩阵最大累加和 2 | [H] 3 | 4 | --- 5 | https://leetcode-cn.com/problems/max-submatrix-lcci/ 6 | 7 | 8 | 9 | 返回一个二维数组中,子矩阵最大累加和 -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/200. ★算法题目汇总★/★算法面试题汇总/旋转数组.md: -------------------------------------------------------------------------------- 1 | # 旋转数组 2 | 3 | [M] 4 | 5 | 189.旋转数组 6 | 7 | --- 8 | 9 | https://leetcode-cn.com/problems/rotate-array 10 | 11 | [[数组轮转]] -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/200. ★算法题目汇总★/★算法面试题汇总/最小的达标数字.md: -------------------------------------------------------------------------------- 1 | # 最小的达标数字 2 | 3 | #微软 4 | 5 | --- 6 | 7 | 8 | 给定一个正数num,要返回一个大于num的数, 9 | 并且每一位和相邻位的数字不能相等 10 | 返回达标的数字中,最小的那个 -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/200. ★算法题目汇总★/★算法面试题汇总/欧拉信封问题.md: -------------------------------------------------------------------------------- 1 | # 欧拉信封问题 2 | 3 | #博弈论 4 | 5 | 6 | --- 7 | 8 | 一个村里有一些人, 规定每一个人都要往外寄出一封信, 但是不能寄给自己, 同时, 每个人只能收到一封信, 在这样一种设定下, 问这个村里有多少种寄信的方式. -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/200. ★算法题目汇总★/★算法面试题汇总/正数数组分割为累加和接近的两个集合.md: -------------------------------------------------------------------------------- 1 | # 正数数组分割为累加和接近的两个集合 2 | 3 | --- 4 | 5 | 给定一个正数数组arr, 6 | 请把arr中所有的数分成两个集合,尽量让两个集合的累加和接近 7 | 返回: 8 | 最接近的情况下,较小集合的累加和 -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/200. ★算法题目汇总★/★算法面试题汇总/直方图的最大矩形面积.md: -------------------------------------------------------------------------------- 1 | # 直方图的最大矩形面积 2 | 3 | [H] 4 | 5 | #单调栈 6 | 7 | --- 8 | 9 | 给定一个非负数组arr,代表直方图 返回直方图的最大长方形面积 10 | 11 | --- 12 | -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/200. ★算法题目汇总★/★算法面试题汇总/能被K整除的的子串个数.md: -------------------------------------------------------------------------------- 1 | # 能被K整除的的子串个数 2 | #微众 3 | 4 | --- 5 | 6 | 4.11笔试 7 | 给定n位长的数字字符串和正数k,求该子符串能被k整除的子串个数 8 | (n<=1000,k<=100) 9 | 10 | -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/200. ★算法题目汇总★/算法群面试题/0928-24点游戏.md: -------------------------------------------------------------------------------- 1 | # 24点游戏 2 | 3 | --- 4 | 5 | 679.[[24 点游戏]] [H] 6 | https://leetcode-cn.com/problems/24-game/ 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/300. 算法题目分类总结/按题目系列分类/无序连续子数组排序系列问题.md: -------------------------------------------------------------------------------- 1 | # 无序连续子数组排序系列问题 2 | 3 | --- 4 | 5 | 769.[[最多能完成排序的块]] [M] 6 | 7 | 768.[[最多能完成排序的块 II]] [H] 8 | 9 | 581.[[最短无序连续子数组]] [M] -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/appendix/Pasted image 20201119014342.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haandfeng/Zuo-Algorithm-Cpp/HEAD/算法笔记/zuoAlgorithm/appendix/Pasted image 20201119014342.png -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/appendix/Pasted image 20201119021651.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haandfeng/Zuo-Algorithm-Cpp/HEAD/算法笔记/zuoAlgorithm/appendix/Pasted image 20201119021651.png -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/appendix/Pasted image 20201120121518.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haandfeng/Zuo-Algorithm-Cpp/HEAD/算法笔记/zuoAlgorithm/appendix/Pasted image 20201120121518.png -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/appendix/Pasted image 20201120121615.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haandfeng/Zuo-Algorithm-Cpp/HEAD/算法笔记/zuoAlgorithm/appendix/Pasted image 20201120121615.png -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/appendix/Pasted image 20201120121633.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haandfeng/Zuo-Algorithm-Cpp/HEAD/算法笔记/zuoAlgorithm/appendix/Pasted image 20201120121633.png -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/appendix/Pasted image 20201120121722.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haandfeng/Zuo-Algorithm-Cpp/HEAD/算法笔记/zuoAlgorithm/appendix/Pasted image 20201120121722.png -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/appendix/Pasted image 20201120190236.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haandfeng/Zuo-Algorithm-Cpp/HEAD/算法笔记/zuoAlgorithm/appendix/Pasted image 20201120190236.png -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/appendix/Pasted image 20201120200550.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haandfeng/Zuo-Algorithm-Cpp/HEAD/算法笔记/zuoAlgorithm/appendix/Pasted image 20201120200550.png -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/appendix/Pasted image 20201123191043.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haandfeng/Zuo-Algorithm-Cpp/HEAD/算法笔记/zuoAlgorithm/appendix/Pasted image 20201123191043.png -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/appendix/Pasted image 20201207223959.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haandfeng/Zuo-Algorithm-Cpp/HEAD/算法笔记/zuoAlgorithm/appendix/Pasted image 20201207223959.png -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/appendix/Pasted image 20201207230538.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haandfeng/Zuo-Algorithm-Cpp/HEAD/算法笔记/zuoAlgorithm/appendix/Pasted image 20201207230538.png -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/appendix/Pasted image 20201207230829.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haandfeng/Zuo-Algorithm-Cpp/HEAD/算法笔记/zuoAlgorithm/appendix/Pasted image 20201207230829.png -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/appendix/Pasted image 20201207231207.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haandfeng/Zuo-Algorithm-Cpp/HEAD/算法笔记/zuoAlgorithm/appendix/Pasted image 20201207231207.png -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/appendix/Pasted image 20201207231602.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haandfeng/Zuo-Algorithm-Cpp/HEAD/算法笔记/zuoAlgorithm/appendix/Pasted image 20201207231602.png -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/appendix/Pasted image 20201207232747.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haandfeng/Zuo-Algorithm-Cpp/HEAD/算法笔记/zuoAlgorithm/appendix/Pasted image 20201207232747.png -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/appendix/Pasted image 20201207233326.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haandfeng/Zuo-Algorithm-Cpp/HEAD/算法笔记/zuoAlgorithm/appendix/Pasted image 20201207233326.png -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/appendix/Pasted image 20201208004207.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haandfeng/Zuo-Algorithm-Cpp/HEAD/算法笔记/zuoAlgorithm/appendix/Pasted image 20201208004207.png -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/appendix/Pasted image 20201208004216.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haandfeng/Zuo-Algorithm-Cpp/HEAD/算法笔记/zuoAlgorithm/appendix/Pasted image 20201208004216.png -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/appendix/Pasted image 20201208004753.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haandfeng/Zuo-Algorithm-Cpp/HEAD/算法笔记/zuoAlgorithm/appendix/Pasted image 20201208004753.png -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/appendix/Pasted image 20201208013934.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haandfeng/Zuo-Algorithm-Cpp/HEAD/算法笔记/zuoAlgorithm/appendix/Pasted image 20201208013934.png -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/appendix/Pasted image 20201208014445.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haandfeng/Zuo-Algorithm-Cpp/HEAD/算法笔记/zuoAlgorithm/appendix/Pasted image 20201208014445.png -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/appendix/Pasted image 20201208015052.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haandfeng/Zuo-Algorithm-Cpp/HEAD/算法笔记/zuoAlgorithm/appendix/Pasted image 20201208015052.png -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/appendix/Pasted image 20201210004513.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haandfeng/Zuo-Algorithm-Cpp/HEAD/算法笔记/zuoAlgorithm/appendix/Pasted image 20201210004513.png -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/appendix/Pasted image 20201210115604.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haandfeng/Zuo-Algorithm-Cpp/HEAD/算法笔记/zuoAlgorithm/appendix/Pasted image 20201210115604.png -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/appendix/Pasted image 20201210120723.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haandfeng/Zuo-Algorithm-Cpp/HEAD/算法笔记/zuoAlgorithm/appendix/Pasted image 20201210120723.png -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/appendix/Pasted image 20201214150515.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haandfeng/Zuo-Algorithm-Cpp/HEAD/算法笔记/zuoAlgorithm/appendix/Pasted image 20201214150515.png -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/appendix/Pasted image 20201214164359.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haandfeng/Zuo-Algorithm-Cpp/HEAD/算法笔记/zuoAlgorithm/appendix/Pasted image 20201214164359.png -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/appendix/Pasted image 20201214181645.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haandfeng/Zuo-Algorithm-Cpp/HEAD/算法笔记/zuoAlgorithm/appendix/Pasted image 20201214181645.png -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/appendix/Pasted image 20201214181700.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haandfeng/Zuo-Algorithm-Cpp/HEAD/算法笔记/zuoAlgorithm/appendix/Pasted image 20201214181700.png -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/appendix/Pasted image 20201214181722.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haandfeng/Zuo-Algorithm-Cpp/HEAD/算法笔记/zuoAlgorithm/appendix/Pasted image 20201214181722.png -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/appendix/Pasted image 20201214184614.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haandfeng/Zuo-Algorithm-Cpp/HEAD/算法笔记/zuoAlgorithm/appendix/Pasted image 20201214184614.png -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/appendix/Pasted image 20201215121343.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haandfeng/Zuo-Algorithm-Cpp/HEAD/算法笔记/zuoAlgorithm/appendix/Pasted image 20201215121343.png -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/appendix/Pasted image 20201217162517.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haandfeng/Zuo-Algorithm-Cpp/HEAD/算法笔记/zuoAlgorithm/appendix/Pasted image 20201217162517.png -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/appendix/Pasted image 20201217182853.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haandfeng/Zuo-Algorithm-Cpp/HEAD/算法笔记/zuoAlgorithm/appendix/Pasted image 20201217182853.png -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/appendix/Pasted image 20201217183257.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haandfeng/Zuo-Algorithm-Cpp/HEAD/算法笔记/zuoAlgorithm/appendix/Pasted image 20201217183257.png -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/appendix/Pasted image 20201217183701.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haandfeng/Zuo-Algorithm-Cpp/HEAD/算法笔记/zuoAlgorithm/appendix/Pasted image 20201217183701.png -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/appendix/Pasted image 20201217185417.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haandfeng/Zuo-Algorithm-Cpp/HEAD/算法笔记/zuoAlgorithm/appendix/Pasted image 20201217185417.png -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/appendix/Pasted image 20201217221036.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haandfeng/Zuo-Algorithm-Cpp/HEAD/算法笔记/zuoAlgorithm/appendix/Pasted image 20201217221036.png -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/appendix/Pasted image 20201218004230.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haandfeng/Zuo-Algorithm-Cpp/HEAD/算法笔记/zuoAlgorithm/appendix/Pasted image 20201218004230.png -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/appendix/Pasted image 20201218004359.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haandfeng/Zuo-Algorithm-Cpp/HEAD/算法笔记/zuoAlgorithm/appendix/Pasted image 20201218004359.png -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/appendix/Pasted image 20201218004452.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haandfeng/Zuo-Algorithm-Cpp/HEAD/算法笔记/zuoAlgorithm/appendix/Pasted image 20201218004452.png -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/appendix/Pasted image 20201218004535.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haandfeng/Zuo-Algorithm-Cpp/HEAD/算法笔记/zuoAlgorithm/appendix/Pasted image 20201218004535.png -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/appendix/Pasted image 20201218004619.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haandfeng/Zuo-Algorithm-Cpp/HEAD/算法笔记/zuoAlgorithm/appendix/Pasted image 20201218004619.png -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/appendix/Pasted image 20201218005931.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haandfeng/Zuo-Algorithm-Cpp/HEAD/算法笔记/zuoAlgorithm/appendix/Pasted image 20201218005931.png -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/appendix/Pasted image 20201218012955.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haandfeng/Zuo-Algorithm-Cpp/HEAD/算法笔记/zuoAlgorithm/appendix/Pasted image 20201218012955.png -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/appendix/Pasted image 20201218113157.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haandfeng/Zuo-Algorithm-Cpp/HEAD/算法笔记/zuoAlgorithm/appendix/Pasted image 20201218113157.png -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/appendix/Pasted image 20201218113211.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haandfeng/Zuo-Algorithm-Cpp/HEAD/算法笔记/zuoAlgorithm/appendix/Pasted image 20201218113211.png -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/appendix/Pasted image 20201218163207.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haandfeng/Zuo-Algorithm-Cpp/HEAD/算法笔记/zuoAlgorithm/appendix/Pasted image 20201218163207.png -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/appendix/Pasted image 20201221024710.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haandfeng/Zuo-Algorithm-Cpp/HEAD/算法笔记/zuoAlgorithm/appendix/Pasted image 20201221024710.png -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/appendix/Pasted image 20201222123633.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haandfeng/Zuo-Algorithm-Cpp/HEAD/算法笔记/zuoAlgorithm/appendix/Pasted image 20201222123633.png -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/appendix/Pasted image 20201222123645.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haandfeng/Zuo-Algorithm-Cpp/HEAD/算法笔记/zuoAlgorithm/appendix/Pasted image 20201222123645.png -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/appendix/Pasted image 20201222125132.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haandfeng/Zuo-Algorithm-Cpp/HEAD/算法笔记/zuoAlgorithm/appendix/Pasted image 20201222125132.png -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/appendix/Pasted image 20201222134529.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haandfeng/Zuo-Algorithm-Cpp/HEAD/算法笔记/zuoAlgorithm/appendix/Pasted image 20201222134529.png -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/appendix/Pasted image 20201223114215.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haandfeng/Zuo-Algorithm-Cpp/HEAD/算法笔记/zuoAlgorithm/appendix/Pasted image 20201223114215.png -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/appendix/Pasted image 20201223131447.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haandfeng/Zuo-Algorithm-Cpp/HEAD/算法笔记/zuoAlgorithm/appendix/Pasted image 20201223131447.png -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/appendix/Pasted image 20201223131715.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haandfeng/Zuo-Algorithm-Cpp/HEAD/算法笔记/zuoAlgorithm/appendix/Pasted image 20201223131715.png -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/appendix/Pasted image 20201223132400.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haandfeng/Zuo-Algorithm-Cpp/HEAD/算法笔记/zuoAlgorithm/appendix/Pasted image 20201223132400.png -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/appendix/Pasted image 20201223133003.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haandfeng/Zuo-Algorithm-Cpp/HEAD/算法笔记/zuoAlgorithm/appendix/Pasted image 20201223133003.png -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/appendix/Pasted image 20201223134220.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haandfeng/Zuo-Algorithm-Cpp/HEAD/算法笔记/zuoAlgorithm/appendix/Pasted image 20201223134220.png -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/appendix/Pasted image 20201223134755.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haandfeng/Zuo-Algorithm-Cpp/HEAD/算法笔记/zuoAlgorithm/appendix/Pasted image 20201223134755.png -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/appendix/Pasted image 20201223140210.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haandfeng/Zuo-Algorithm-Cpp/HEAD/算法笔记/zuoAlgorithm/appendix/Pasted image 20201223140210.png -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/appendix/Pasted image 20201224105051.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haandfeng/Zuo-Algorithm-Cpp/HEAD/算法笔记/zuoAlgorithm/appendix/Pasted image 20201224105051.png -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/appendix/Pasted image 20201224200601.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haandfeng/Zuo-Algorithm-Cpp/HEAD/算法笔记/zuoAlgorithm/appendix/Pasted image 20201224200601.png -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/appendix/Pasted image 20201225013639.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haandfeng/Zuo-Algorithm-Cpp/HEAD/算法笔记/zuoAlgorithm/appendix/Pasted image 20201225013639.png -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/appendix/Pasted image 20201227140813.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haandfeng/Zuo-Algorithm-Cpp/HEAD/算法笔记/zuoAlgorithm/appendix/Pasted image 20201227140813.png -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/appendix/Pasted image 20210104154701.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haandfeng/Zuo-Algorithm-Cpp/HEAD/算法笔记/zuoAlgorithm/appendix/Pasted image 20210104154701.png -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/appendix/Pasted image 20210104174401.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haandfeng/Zuo-Algorithm-Cpp/HEAD/算法笔记/zuoAlgorithm/appendix/Pasted image 20210104174401.png -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/appendix/Pasted image 20210115021332.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haandfeng/Zuo-Algorithm-Cpp/HEAD/算法笔记/zuoAlgorithm/appendix/Pasted image 20210115021332.png -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/appendix/Pasted image 20210115022303.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haandfeng/Zuo-Algorithm-Cpp/HEAD/算法笔记/zuoAlgorithm/appendix/Pasted image 20210115022303.png -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/appendix/Pasted image 20210115024734.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haandfeng/Zuo-Algorithm-Cpp/HEAD/算法笔记/zuoAlgorithm/appendix/Pasted image 20210115024734.png -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/appendix/Pasted image 20210115030800.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haandfeng/Zuo-Algorithm-Cpp/HEAD/算法笔记/zuoAlgorithm/appendix/Pasted image 20210115030800.png -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/appendix/Pasted image 20210115113650.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haandfeng/Zuo-Algorithm-Cpp/HEAD/算法笔记/zuoAlgorithm/appendix/Pasted image 20210115113650.png -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/appendix/Pasted image 20210115113700.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haandfeng/Zuo-Algorithm-Cpp/HEAD/算法笔记/zuoAlgorithm/appendix/Pasted image 20210115113700.png -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/appendix/Pasted image 20210115233923.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haandfeng/Zuo-Algorithm-Cpp/HEAD/算法笔记/zuoAlgorithm/appendix/Pasted image 20210115233923.png -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/appendix/Pasted image 20210115234729.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haandfeng/Zuo-Algorithm-Cpp/HEAD/算法笔记/zuoAlgorithm/appendix/Pasted image 20210115234729.png -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/appendix/Pasted image 20210117225616.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haandfeng/Zuo-Algorithm-Cpp/HEAD/算法笔记/zuoAlgorithm/appendix/Pasted image 20210117225616.png -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/appendix/Pasted image 20210117230658.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haandfeng/Zuo-Algorithm-Cpp/HEAD/算法笔记/zuoAlgorithm/appendix/Pasted image 20210117230658.png -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/appendix/Pasted image 20210118005430.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haandfeng/Zuo-Algorithm-Cpp/HEAD/算法笔记/zuoAlgorithm/appendix/Pasted image 20210118005430.png -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/appendix/Pasted image 20210118012150.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haandfeng/Zuo-Algorithm-Cpp/HEAD/算法笔记/zuoAlgorithm/appendix/Pasted image 20210118012150.png -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/appendix/Pasted image 20210118012554.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haandfeng/Zuo-Algorithm-Cpp/HEAD/算法笔记/zuoAlgorithm/appendix/Pasted image 20210118012554.png -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/appendix/Pasted image 20210118012750.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haandfeng/Zuo-Algorithm-Cpp/HEAD/算法笔记/zuoAlgorithm/appendix/Pasted image 20210118012750.png -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/appendix/Pasted image 20210118014801.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haandfeng/Zuo-Algorithm-Cpp/HEAD/算法笔记/zuoAlgorithm/appendix/Pasted image 20210118014801.png -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/appendix/Pasted image 20210118015648.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haandfeng/Zuo-Algorithm-Cpp/HEAD/算法笔记/zuoAlgorithm/appendix/Pasted image 20210118015648.png -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/appendix/Pasted image 20210118223939.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haandfeng/Zuo-Algorithm-Cpp/HEAD/算法笔记/zuoAlgorithm/appendix/Pasted image 20210118223939.png -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/appendix/Pasted image 20210127191216.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haandfeng/Zuo-Algorithm-Cpp/HEAD/算法笔记/zuoAlgorithm/appendix/Pasted image 20210127191216.png -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/appendix/Pasted image 20210128084622.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haandfeng/Zuo-Algorithm-Cpp/HEAD/算法笔记/zuoAlgorithm/appendix/Pasted image 20210128084622.png -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/appendix/Pasted image 20210128190100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haandfeng/Zuo-Algorithm-Cpp/HEAD/算法笔记/zuoAlgorithm/appendix/Pasted image 20210128190100.png -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/appendix/Pasted image 20210128190417.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haandfeng/Zuo-Algorithm-Cpp/HEAD/算法笔记/zuoAlgorithm/appendix/Pasted image 20210128190417.png -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/appendix/Pasted image 20210128192044.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haandfeng/Zuo-Algorithm-Cpp/HEAD/算法笔记/zuoAlgorithm/appendix/Pasted image 20210128192044.png -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/appendix/Pasted image 20210128192534.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haandfeng/Zuo-Algorithm-Cpp/HEAD/算法笔记/zuoAlgorithm/appendix/Pasted image 20210128192534.png -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/appendix/Pasted image 20210128193632.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haandfeng/Zuo-Algorithm-Cpp/HEAD/算法笔记/zuoAlgorithm/appendix/Pasted image 20210128193632.png -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/appendix/Pasted image 20210128194605.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haandfeng/Zuo-Algorithm-Cpp/HEAD/算法笔记/zuoAlgorithm/appendix/Pasted image 20210128194605.png -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/appendix/Pasted image 20210129145331.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haandfeng/Zuo-Algorithm-Cpp/HEAD/算法笔记/zuoAlgorithm/appendix/Pasted image 20210129145331.png -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/appendix/Pasted image 20210129145341.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haandfeng/Zuo-Algorithm-Cpp/HEAD/算法笔记/zuoAlgorithm/appendix/Pasted image 20210129145341.png -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/appendix/Pasted image 20210129145955.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haandfeng/Zuo-Algorithm-Cpp/HEAD/算法笔记/zuoAlgorithm/appendix/Pasted image 20210129145955.png -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/appendix/Pasted image 20210129150543.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haandfeng/Zuo-Algorithm-Cpp/HEAD/算法笔记/zuoAlgorithm/appendix/Pasted image 20210129150543.png -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/appendix/Pasted image 20210129160825.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haandfeng/Zuo-Algorithm-Cpp/HEAD/算法笔记/zuoAlgorithm/appendix/Pasted image 20210129160825.png -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/appendix/Pasted image 20210129161803.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haandfeng/Zuo-Algorithm-Cpp/HEAD/算法笔记/zuoAlgorithm/appendix/Pasted image 20210129161803.png -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/appendix/Pasted image 20210129164318.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haandfeng/Zuo-Algorithm-Cpp/HEAD/算法笔记/zuoAlgorithm/appendix/Pasted image 20210129164318.png -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/appendix/Pasted image 20210129173327.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haandfeng/Zuo-Algorithm-Cpp/HEAD/算法笔记/zuoAlgorithm/appendix/Pasted image 20210129173327.png -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/appendix/Pasted image 20210129214414.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haandfeng/Zuo-Algorithm-Cpp/HEAD/算法笔记/zuoAlgorithm/appendix/Pasted image 20210129214414.png -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/appendix/Pasted image 20210129220327.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haandfeng/Zuo-Algorithm-Cpp/HEAD/算法笔记/zuoAlgorithm/appendix/Pasted image 20210129220327.png -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/appendix/Pasted image 20210129221624.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haandfeng/Zuo-Algorithm-Cpp/HEAD/算法笔记/zuoAlgorithm/appendix/Pasted image 20210129221624.png -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/appendix/Pasted image 20210131210545.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haandfeng/Zuo-Algorithm-Cpp/HEAD/算法笔记/zuoAlgorithm/appendix/Pasted image 20210131210545.png -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/appendix/Pasted image 20210201114034.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haandfeng/Zuo-Algorithm-Cpp/HEAD/算法笔记/zuoAlgorithm/appendix/Pasted image 20210201114034.png -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/appendix/Pasted image 20210201140113.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haandfeng/Zuo-Algorithm-Cpp/HEAD/算法笔记/zuoAlgorithm/appendix/Pasted image 20210201140113.png -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/appendix/Pasted image 20210202144720.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haandfeng/Zuo-Algorithm-Cpp/HEAD/算法笔记/zuoAlgorithm/appendix/Pasted image 20210202144720.png -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/appendix/Pasted image 20210202144835.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haandfeng/Zuo-Algorithm-Cpp/HEAD/算法笔记/zuoAlgorithm/appendix/Pasted image 20210202144835.png -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/appendix/Pasted image 20210202145948.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haandfeng/Zuo-Algorithm-Cpp/HEAD/算法笔记/zuoAlgorithm/appendix/Pasted image 20210202145948.png -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/appendix/Pasted image 20210202172959.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haandfeng/Zuo-Algorithm-Cpp/HEAD/算法笔记/zuoAlgorithm/appendix/Pasted image 20210202172959.png -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/appendix/Pasted image 20210202174025.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haandfeng/Zuo-Algorithm-Cpp/HEAD/算法笔记/zuoAlgorithm/appendix/Pasted image 20210202174025.png -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/appendix/Pasted image 20210202224957.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haandfeng/Zuo-Algorithm-Cpp/HEAD/算法笔记/zuoAlgorithm/appendix/Pasted image 20210202224957.png -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/appendix/Pasted image 20210203205355.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haandfeng/Zuo-Algorithm-Cpp/HEAD/算法笔记/zuoAlgorithm/appendix/Pasted image 20210203205355.png -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/appendix/Pasted image 20210203205557.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haandfeng/Zuo-Algorithm-Cpp/HEAD/算法笔记/zuoAlgorithm/appendix/Pasted image 20210203205557.png -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/appendix/Pasted image 20210203220948.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haandfeng/Zuo-Algorithm-Cpp/HEAD/算法笔记/zuoAlgorithm/appendix/Pasted image 20210203220948.png -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/appendix/Pasted image 20210203223850.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haandfeng/Zuo-Algorithm-Cpp/HEAD/算法笔记/zuoAlgorithm/appendix/Pasted image 20210203223850.png -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/appendix/Pasted image 20210204190614.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haandfeng/Zuo-Algorithm-Cpp/HEAD/算法笔记/zuoAlgorithm/appendix/Pasted image 20210204190614.png -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/appendix/Pasted image 20210204190655.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haandfeng/Zuo-Algorithm-Cpp/HEAD/算法笔记/zuoAlgorithm/appendix/Pasted image 20210204190655.png -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/appendix/Pasted image 20210204194654.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haandfeng/Zuo-Algorithm-Cpp/HEAD/算法笔记/zuoAlgorithm/appendix/Pasted image 20210204194654.png -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/appendix/Pasted image 20210221221433.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haandfeng/Zuo-Algorithm-Cpp/HEAD/算法笔记/zuoAlgorithm/appendix/Pasted image 20210221221433.png -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/appendix/Pasted image 20210321222750.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haandfeng/Zuo-Algorithm-Cpp/HEAD/算法笔记/zuoAlgorithm/appendix/Pasted image 20210321222750.png -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/appendix/Pasted image 20210504190038.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haandfeng/Zuo-Algorithm-Cpp/HEAD/算法笔记/zuoAlgorithm/appendix/Pasted image 20210504190038.png -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/appendix/Pasted image 20210518190026.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haandfeng/Zuo-Algorithm-Cpp/HEAD/算法笔记/zuoAlgorithm/appendix/Pasted image 20210518190026.png -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/appendix/Pasted image 20210524210216.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haandfeng/Zuo-Algorithm-Cpp/HEAD/算法笔记/zuoAlgorithm/appendix/Pasted image 20210524210216.png -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/appendix/Pasted image 20210524210241.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haandfeng/Zuo-Algorithm-Cpp/HEAD/算法笔记/zuoAlgorithm/appendix/Pasted image 20210524210241.png -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/appendix/Pasted image 20210607200919.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haandfeng/Zuo-Algorithm-Cpp/HEAD/算法笔记/zuoAlgorithm/appendix/Pasted image 20210607200919.png -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/appendix/Pasted image 20210607200932.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haandfeng/Zuo-Algorithm-Cpp/HEAD/算法笔记/zuoAlgorithm/appendix/Pasted image 20210607200932.png -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/appendix/Pasted image 20210621201933.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haandfeng/Zuo-Algorithm-Cpp/HEAD/算法笔记/zuoAlgorithm/appendix/Pasted image 20210621201933.png -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/appendix/Pasted image 20210621201941.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haandfeng/Zuo-Algorithm-Cpp/HEAD/算法笔记/zuoAlgorithm/appendix/Pasted image 20210621201941.png -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/appendix/Pasted image 20210621201952.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haandfeng/Zuo-Algorithm-Cpp/HEAD/算法笔记/zuoAlgorithm/appendix/Pasted image 20210621201952.png -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/appendix/Pasted image 20210621202430.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haandfeng/Zuo-Algorithm-Cpp/HEAD/算法笔记/zuoAlgorithm/appendix/Pasted image 20210621202430.png -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/appendix/Pasted image 20210621202628.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haandfeng/Zuo-Algorithm-Cpp/HEAD/算法笔记/zuoAlgorithm/appendix/Pasted image 20210621202628.png -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/appendix/Pasted image 20210621202643.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haandfeng/Zuo-Algorithm-Cpp/HEAD/算法笔记/zuoAlgorithm/appendix/Pasted image 20210621202643.png -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/appendix/Pasted image 20210626155717.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haandfeng/Zuo-Algorithm-Cpp/HEAD/算法笔记/zuoAlgorithm/appendix/Pasted image 20210626155717.png -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/appendix/Pasted image 20210701114118.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haandfeng/Zuo-Algorithm-Cpp/HEAD/算法笔记/zuoAlgorithm/appendix/Pasted image 20210701114118.png -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/appendix/Pasted image 20210701114127.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haandfeng/Zuo-Algorithm-Cpp/HEAD/算法笔记/zuoAlgorithm/appendix/Pasted image 20210701114127.png -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/appendix/Pasted image 20210701123121.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haandfeng/Zuo-Algorithm-Cpp/HEAD/算法笔记/zuoAlgorithm/appendix/Pasted image 20210701123121.png -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/appendix/Pasted image 20210701123133.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haandfeng/Zuo-Algorithm-Cpp/HEAD/算法笔记/zuoAlgorithm/appendix/Pasted image 20210701123133.png -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/appendix/Pasted image 20210701123502.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haandfeng/Zuo-Algorithm-Cpp/HEAD/算法笔记/zuoAlgorithm/appendix/Pasted image 20210701123502.png -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/appendix/Pasted image 20210930194529.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haandfeng/Zuo-Algorithm-Cpp/HEAD/算法笔记/zuoAlgorithm/appendix/Pasted image 20210930194529.png -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/appendix/Pasted image 20211106202532.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haandfeng/Zuo-Algorithm-Cpp/HEAD/算法笔记/zuoAlgorithm/appendix/Pasted image 20211106202532.png -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/appendix/Pasted image 20211106202606.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haandfeng/Zuo-Algorithm-Cpp/HEAD/算法笔记/zuoAlgorithm/appendix/Pasted image 20211106202606.png -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/appendix/Pasted image 20211106205247.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haandfeng/Zuo-Algorithm-Cpp/HEAD/算法笔记/zuoAlgorithm/appendix/Pasted image 20211106205247.png -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/appendix/Pasted image 20211106205313.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haandfeng/Zuo-Algorithm-Cpp/HEAD/算法笔记/zuoAlgorithm/appendix/Pasted image 20211106205313.png -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/appendix/Pasted image 20211106211700.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haandfeng/Zuo-Algorithm-Cpp/HEAD/算法笔记/zuoAlgorithm/appendix/Pasted image 20211106211700.png -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/appendix/Pasted image 20211106211715.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haandfeng/Zuo-Algorithm-Cpp/HEAD/算法笔记/zuoAlgorithm/appendix/Pasted image 20211106211715.png -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/appendix/Pasted image 20211106215945.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haandfeng/Zuo-Algorithm-Cpp/HEAD/算法笔记/zuoAlgorithm/appendix/Pasted image 20211106215945.png -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/appendix/Pasted image 20211106215957.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haandfeng/Zuo-Algorithm-Cpp/HEAD/算法笔记/zuoAlgorithm/appendix/Pasted image 20211106215957.png -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/appendix/Pasted image 20211106220220.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haandfeng/Zuo-Algorithm-Cpp/HEAD/算法笔记/zuoAlgorithm/appendix/Pasted image 20211106220220.png -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/appendix/Pasted image 20211216204657.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haandfeng/Zuo-Algorithm-Cpp/HEAD/算法笔记/zuoAlgorithm/appendix/Pasted image 20211216204657.png -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/appendix/Pasted image 20220105160613.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haandfeng/Zuo-Algorithm-Cpp/HEAD/算法笔记/zuoAlgorithm/appendix/Pasted image 20220105160613.png -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/appendix/Pasted image 20220105160620.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haandfeng/Zuo-Algorithm-Cpp/HEAD/算法笔记/zuoAlgorithm/appendix/Pasted image 20220105160620.png -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/appendix/Pasted image 20220105161138.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haandfeng/Zuo-Algorithm-Cpp/HEAD/算法笔记/zuoAlgorithm/appendix/Pasted image 20220105161138.png -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/appendix/Pasted image 20220105161145.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haandfeng/Zuo-Algorithm-Cpp/HEAD/算法笔记/zuoAlgorithm/appendix/Pasted image 20220105161145.png -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/appendix/Pasted image 20220218194948.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haandfeng/Zuo-Algorithm-Cpp/HEAD/算法笔记/zuoAlgorithm/appendix/Pasted image 20220218194948.png -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/appendix/Pasted image 20220218195003.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haandfeng/Zuo-Algorithm-Cpp/HEAD/算法笔记/zuoAlgorithm/appendix/Pasted image 20220218195003.png -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/appendix/Pasted image 20220408120037.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haandfeng/Zuo-Algorithm-Cpp/HEAD/算法笔记/zuoAlgorithm/appendix/Pasted image 20220408120037.png -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/appendix/Pasted image 20220409105436.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haandfeng/Zuo-Algorithm-Cpp/HEAD/算法笔记/zuoAlgorithm/appendix/Pasted image 20220409105436.png -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/appendix/Pasted image 20220415164321.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haandfeng/Zuo-Algorithm-Cpp/HEAD/算法笔记/zuoAlgorithm/appendix/Pasted image 20220415164321.png -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/appendix/Pasted image 20220421140849.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haandfeng/Zuo-Algorithm-Cpp/HEAD/算法笔记/zuoAlgorithm/appendix/Pasted image 20220421140849.png -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/appendix/Pasted image 20220609120239.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haandfeng/Zuo-Algorithm-Cpp/HEAD/算法笔记/zuoAlgorithm/appendix/Pasted image 20220609120239.png -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/appendix/Pasted image 20220623135403.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haandfeng/Zuo-Algorithm-Cpp/HEAD/算法笔记/zuoAlgorithm/appendix/Pasted image 20220623135403.png -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/appendix/Pasted image 20220623135419.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haandfeng/Zuo-Algorithm-Cpp/HEAD/算法笔记/zuoAlgorithm/appendix/Pasted image 20220623135419.png -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/appendix/Pasted image 20220623135509.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haandfeng/Zuo-Algorithm-Cpp/HEAD/算法笔记/zuoAlgorithm/appendix/Pasted image 20220623135509.png -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/appendix/Pasted image 20220625140920.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haandfeng/Zuo-Algorithm-Cpp/HEAD/算法笔记/zuoAlgorithm/appendix/Pasted image 20220625140920.png -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/appendix/Pasted image 20220625140938.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haandfeng/Zuo-Algorithm-Cpp/HEAD/算法笔记/zuoAlgorithm/appendix/Pasted image 20220625140938.png -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/appendix/Pasted image 20220706204015.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haandfeng/Zuo-Algorithm-Cpp/HEAD/算法笔记/zuoAlgorithm/appendix/Pasted image 20220706204015.png -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/appendix/Pasted image 20220706204035.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haandfeng/Zuo-Algorithm-Cpp/HEAD/算法笔记/zuoAlgorithm/appendix/Pasted image 20220706204035.png -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/appendix/Pasted image 20220711093204.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haandfeng/Zuo-Algorithm-Cpp/HEAD/算法笔记/zuoAlgorithm/appendix/Pasted image 20220711093204.png -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/appendix/Pasted image 20220713212048.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haandfeng/Zuo-Algorithm-Cpp/HEAD/算法笔记/zuoAlgorithm/appendix/Pasted image 20220713212048.png -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/appendix/Pasted image 20220713212053.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haandfeng/Zuo-Algorithm-Cpp/HEAD/算法笔记/zuoAlgorithm/appendix/Pasted image 20220713212053.png -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/appendix/Pasted image 20220719120118.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haandfeng/Zuo-Algorithm-Cpp/HEAD/算法笔记/zuoAlgorithm/appendix/Pasted image 20220719120118.png -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/appendix/Pasted image 20220721000516.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haandfeng/Zuo-Algorithm-Cpp/HEAD/算法笔记/zuoAlgorithm/appendix/Pasted image 20220721000516.png -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/appendix/Pasted image 20220721132829.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haandfeng/Zuo-Algorithm-Cpp/HEAD/算法笔记/zuoAlgorithm/appendix/Pasted image 20220721132829.png -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/appendix/Pasted image 20220725093217.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haandfeng/Zuo-Algorithm-Cpp/HEAD/算法笔记/zuoAlgorithm/appendix/Pasted image 20220725093217.png -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/appendix/Pasted image 20220725093227.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haandfeng/Zuo-Algorithm-Cpp/HEAD/算法笔记/zuoAlgorithm/appendix/Pasted image 20220725093227.png -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/appendix/Pasted image 20220725093521.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haandfeng/Zuo-Algorithm-Cpp/HEAD/算法笔记/zuoAlgorithm/appendix/Pasted image 20220725093521.png -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/appendix/Pasted image 20220726151046.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haandfeng/Zuo-Algorithm-Cpp/HEAD/算法笔记/zuoAlgorithm/appendix/Pasted image 20220726151046.png -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/appendix/Pasted image 20220726220909.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haandfeng/Zuo-Algorithm-Cpp/HEAD/算法笔记/zuoAlgorithm/appendix/Pasted image 20220726220909.png -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/appendix/Pasted image 20220802180546.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haandfeng/Zuo-Algorithm-Cpp/HEAD/算法笔记/zuoAlgorithm/appendix/Pasted image 20220802180546.png -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/appendix/Pasted image 20220814011801.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haandfeng/Zuo-Algorithm-Cpp/HEAD/算法笔记/zuoAlgorithm/appendix/Pasted image 20220814011801.png -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/appendix/Pasted image 20220817234151.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haandfeng/Zuo-Algorithm-Cpp/HEAD/算法笔记/zuoAlgorithm/appendix/Pasted image 20220817234151.png -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/appendix/Pasted image 20220817234157.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haandfeng/Zuo-Algorithm-Cpp/HEAD/算法笔记/zuoAlgorithm/appendix/Pasted image 20220817234157.png -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/appendix/Pasted image 20220827085451.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haandfeng/Zuo-Algorithm-Cpp/HEAD/算法笔记/zuoAlgorithm/appendix/Pasted image 20220827085451.png -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/appendix/Pasted image 20220827085505.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haandfeng/Zuo-Algorithm-Cpp/HEAD/算法笔记/zuoAlgorithm/appendix/Pasted image 20220827085505.png -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/appendix/Pasted image 20220828122734.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haandfeng/Zuo-Algorithm-Cpp/HEAD/算法笔记/zuoAlgorithm/appendix/Pasted image 20220828122734.png -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/appendix/Pasted image 20220906012230.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haandfeng/Zuo-Algorithm-Cpp/HEAD/算法笔记/zuoAlgorithm/appendix/Pasted image 20220906012230.png -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/appendix/Pasted image 20220906213739.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haandfeng/Zuo-Algorithm-Cpp/HEAD/算法笔记/zuoAlgorithm/appendix/Pasted image 20220906213739.png -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/appendix/Pasted image 20220916125917.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haandfeng/Zuo-Algorithm-Cpp/HEAD/算法笔记/zuoAlgorithm/appendix/Pasted image 20220916125917.png -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/appendix/Pasted image 20220916172619.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haandfeng/Zuo-Algorithm-Cpp/HEAD/算法笔记/zuoAlgorithm/appendix/Pasted image 20220916172619.png -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/appendix/Pasted image 20221010142905.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haandfeng/Zuo-Algorithm-Cpp/HEAD/算法笔记/zuoAlgorithm/appendix/Pasted image 20221010142905.png -------------------------------------------------------------------------------- /C++算法/必备/大纲.md: -------------------------------------------------------------------------------- 1 | [[归并]] 2 | [[快排]] 3 | [[堆 优先队列]] 4 | [[基数排序]] 5 | [[排序总结]] 6 | [[位运算]] 7 | [[链表高频题和必备技巧]] 8 | [[数据结构设计高频题]] 9 | [[二叉树经典问题]] 10 | [[常见递归题目]] 11 | [[嵌套类问题的递归解体套路]] -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/010. 代码模板/翻转0-1字符串数组.md: -------------------------------------------------------------------------------- 1 | # 翻转0-1字符串数组 2 | 3 | --- 4 | 5 | ```java 6 | public char invert(char bit) { 7 | return (char) ('0' + '1' - bit); // 相当精妙 8 | } 9 | ``` -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/100. 算法课程/01. 体系学习班/43 状态压缩的动态规划.md: -------------------------------------------------------------------------------- 1 | # 状态压缩的动态规划 2 | 3 | --- 4 | 5 | 题目一: 464. [[我能赢吗]] [M] 6 | 7 | 题目二: [[TSP问题]] 8 | 9 | 题目三: [[铺瓷砖问题]] 10 | 11 | 12 | -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/100. 算法课程/03. 算法营养课/2021年11月第4周.md: -------------------------------------------------------------------------------- 1 | # 2021年11月第4周 2 | 3 | --- 4 | 5 | [[按要求调整多叉树]] 6 | 7 | 345.[[猜数字 II]] [M] 8 | 9 | [[二进制中1的个数等于target的数字个数]] 10 | 11 | -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/100. 算法课程/33. 经典面试题讲解/经典面试题目11.md: -------------------------------------------------------------------------------- 1 | # 经典面试题目(十一) 2 | 3 | --- 4 | 5 | 第3期第8节: 6 | 7 | - 题目1: [[一种消息接收并打印的结构设计]] 8 | - 题目2: [[普通硬币跟纪念币拼出指定面值]] 9 | - 题目3: [[1~N中所有数字包含1的个数]] -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/100. 算法课程/33. 经典面试题讲解/经典面试题目21.md: -------------------------------------------------------------------------------- 1 | # 经典面试题目(二十一) 2 | 3 | --- 4 | 5 | 第4期第7节: 6 | 7 | - 题目2: [[调整BST中错误的两个节点]] 8 | - 题目4: [[非负数组子序列中累加和%m的最大值]] 9 | - 题目1: [[项目经理和程序员]] -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/100. 算法课程/40. LeetCode高频题/leetcode高频题目全讲(26).md: -------------------------------------------------------------------------------- 1 | # 近期面试题讲解 2 | 3 | --- 4 | 5 | - [[买饮料]] 6 | - [[司机调度]] 7 | - [[新手游游的数组难题]] 8 | - [[扑克牌问题]] 9 | - [[棋盘染色问题]] -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/200. ★算法题目汇总★/★算法面试题汇总/严格连续递增的子数组最大长度.md: -------------------------------------------------------------------------------- 1 | # 严格连续递增的子数组最大长度 2 | #字节 3 | 4 | --- 5 | 6 | 5.6笔试 7 | 给定一个数组arr,长度为n,最多可以删除一个连续子数组, 8 | 求剩下的数组,严格连续递增的子数组最大长度 9 | n <= 10^6 -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/200. ★算法题目汇总★/★算法面试题汇总/二叉树中最大的二叉搜索子树的头节点.md: -------------------------------------------------------------------------------- 1 | # 二叉树中最大的二叉搜索子树的头节点 2 | 3 | #二叉树的递归套路 4 | 5 | 6 | --- 7 | 8 | 给定一棵二叉树的头节点head, 9 | 返回这颗二叉树中最大的二叉搜索子树的头节点 10 | -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/200. ★算法题目汇总★/★算法面试题汇总/二叉树的序列化与反序列化.md: -------------------------------------------------------------------------------- 1 | # 二叉树的序列化与反序列化 2 | 3 | 4 | [H] 5 | 6 | --- 7 | https://leetcode-cn.com/problems/serialize-and-deserialize-binary-tree 8 | 9 | -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/200. ★算法题目汇总★/★算法面试题汇总/取消冲突的会议安排.md: -------------------------------------------------------------------------------- 1 | # 取消冲突的会议安排 2 | #通维数码 3 | 4 | 5 | --- 6 | 7 | 每个会议给定开始和结束时间 8 | 后面的会议如果跟前面的会议有任何冲突,完全取消冲突的、之前的会议,安排当前的 9 | 给定一个会议数组,返回安排的会议列表 -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/200. ★算法题目汇总★/★算法面试题汇总/只含有一个小写字母的最长子串.md: -------------------------------------------------------------------------------- 1 | # 只含有一个小写字母的最长子串 2 | #滑动窗口 3 | 4 | --- 5 | 6 | 给定一个只由小写字母和数字字符组成的字符串str 7 | 要求子串必须只含有一个小写字母,数字字符数量随意 8 | 求这样的子串最大长度是多少 9 | -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/200. ★算法题目汇总★/★算法面试题汇总/子数组的最小值之和.md: -------------------------------------------------------------------------------- 1 | # 子数组的最小值之和 2 | 3 | [M] 4 | 5 | #单调栈 6 | 7 | 8 | --- 9 | 10 | https://leetcode-cn.com/problems/sum-of-subarray-minimums/ -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/200. ★算法题目汇总★/★算法面试题汇总/将有序数组转换为二叉搜索树.md: -------------------------------------------------------------------------------- 1 | # 将有序数组转换为二叉搜索树 2 | 3 | [E] 4 | 5 | --- 6 | 7 | https://leetcode-cn.com/problems/convert-sorted-array-to-binary-search-tree 8 | -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/200. ★算法题目汇总★/★算法面试题汇总/小于等于K的最大子数组累加和.md: -------------------------------------------------------------------------------- 1 | # 小于等于K的最大子数组累加和 2 | 3 | --- 4 | 5 | 请返回arr中,求个子数组的累加和,是<=K的并且是最大的 6 | 返回这个最大的累加和 7 | 8 | ref: 9 | [[整数数组子数组累加和小于等于K的最大长度]] -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/200. ★算法题目汇总★/★算法面试题汇总/左上到右下的最小耗费.md: -------------------------------------------------------------------------------- 1 | # 左上到右下的最小耗费 2 | #网易 3 | 4 | --- 5 | 6 | 一个二维矩阵,上面只有 0 和 1,只能上下左右移动 7 | 如果移动前后的元素值相同,则耗费 1 ,否则耗费 2。 8 | 问从左上到右下的最小耗费 9 | (3.27笔试) -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/200. ★算法题目汇总★/★算法面试题汇总/差值大于1的子序列.md: -------------------------------------------------------------------------------- 1 | # 差值大于1的子序列 2 | #美团 3 | 4 | --- 5 | 6 | 7 | 给定一个数组arr,你可以随意挑选其中的数字 8 | 但是你挑选的数中,任何两个数a和b,必须Math.abs(a - b) > 1 9 | 返回你最多能挑选几个数 -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/200. ★算法题目汇总★/★算法面试题汇总/无序数组中最长的连续序列的长度.md: -------------------------------------------------------------------------------- 1 | # 无序数组中最长的连续序列的长度 2 | 3 | --- 4 | 给定无序数组 arr,返回其中最长的连续序列的长度 5 | 【举例】 6 | arr=[100,4,200,1,3,2],最长的连续序列为[1,2,3,4],所以返回4。 7 | -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/200. ★算法题目汇总★/★算法面试题汇总/相交链表.md: -------------------------------------------------------------------------------- 1 | # 相交链表 2 | [E] 3 | 4 | --- 5 | https://leetcode-cn.com/problems/intersection-of-two-linked-lists 6 | 7 | 你走你路, 我走我路, 我来到你的城市,走过你来时的路 8 | -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/200. ★算法题目汇总★/算法群面试题/1129-子数组的最小值之和.md: -------------------------------------------------------------------------------- 1 | # 1129-子数组的最小值之和 2 | 3 | --- 4 | 5 | 6 | 907. [[子数组的最小值之和]] [M] 7 | https://leetcode-cn.com/problems/sum-of-subarray-minimums/ -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/200. ★算法题目汇总★/算法群面试题/1201-LeetCode-我能赢吗.md: -------------------------------------------------------------------------------- 1 | # 1201-LeetCode-我能赢吗 2 | 3 | --- 4 | 5 | 464. [[我能赢吗]] [M] 6 | https://leetcode-cn.com/problems/can-i-win/ 7 | 8 | 9 | -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/300. 算法题目分类总结/按题目系列分类/最大累加和系列题目.md: -------------------------------------------------------------------------------- 1 | # 最大累加和系列题目 2 | 3 | 4 | --- 5 | 6 | - [[子数组最大累加和]] 7 | - [[给定一个整型矩阵,返回子矩阵的最大累加和]] 8 | - [[等累加和集合对中最大的累加和]] 9 | 10 | 11 | -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/001. 难点重点照顾/_字符串知识点.md: -------------------------------------------------------------------------------- 1 | # 字符串知识点 2 | 3 | 4 | --- 5 | 6 | - [[KMP算法]] 7 | - [[Manacher算法]] 8 | - [[Trie数 or 前缀树 or 字典树]] 9 | - [[AC自动机]] 10 | - [[后缀数组]] -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/002. 知识点总结/20. 算法知识点/树状数组.md: -------------------------------------------------------------------------------- 1 | # 树状数组(Index Tree) 2 | 3 | #树状数组 4 | 5 | 6 | --- 7 | 8 | 数组单点修改,区间查询 9 | 10 | 不支持区间最值的查询, 要用 [[线段树]] 11 | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/100. 算法课程/01. 体系学习班/44 DC3生成后缀数组详解.md: -------------------------------------------------------------------------------- 1 | # DC3生成后缀数组详解 2 | 3 | --- 4 | 5 | 6 | ## [[后缀数组]] 7 | 介绍用DC3算法生成后缀数组的流程 8 | 9 | 10 | 1163.[[按字典序排在最后的子串]] [H] 11 | 12 | -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/100. 算法课程/03. 算法营养课/2022年8月第2周.md: -------------------------------------------------------------------------------- 1 | # 2022年8月第2周 2 | 3 | --- 4 | 5 | [[合法括号的染色方案]] 6 | 7 | [[树的染色方案]] 8 | 9 | [[转化逆波兰式为中序表达式]] 10 | 11 | [[平面最近点对]] 12 | 13 | -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/100. 算法课程/03. 算法营养课/2022年8月第5周.md: -------------------------------------------------------------------------------- 1 | # 2022年8月第5周 2 | 3 | --- 4 | 5 | [[Nim博弈问题]] 6 | 7 | [[括号区间匹配]] 8 | 9 | [[变序最大和]] 10 | 11 | [[砍树的最大收益]] 12 | 13 | [[red漂亮串]] -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/200. ★算法题目汇总★/★算法面试题汇总/7的倍数的最大累加和.md: -------------------------------------------------------------------------------- 1 | # 7的倍数的最大累加和 2 | #美团 3 | #样本对应模型 4 | 5 | --- 6 | 7 | 8 | 给定一个非负数组,任意选择数字,使累加和最大且为7的倍数,返回最大累加和 9 | n比较大,10的5次方 10 | (3.26笔试) -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/200. ★算法题目汇总★/★算法面试题汇总/一个人迈上N级台阶的方法数.md: -------------------------------------------------------------------------------- 1 | # 一个人迈上N级台阶的方法数 2 | 3 | #斐波那契数列 4 | #矩阵快速幂 5 | 6 | --- 7 | 8 | 一个人可以一次往上迈1个台阶,也可以迈2个台阶 9 | 10 | 返回这个人迈上N级台阶的方法数 11 | -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/200. ★算法题目汇总★/★算法面试题汇总/一条直线最多能穿过多少个点.md: -------------------------------------------------------------------------------- 1 | # 一条直线最多能穿过多少个点 2 | 3 | 4 | 5 | --- 6 | 给定两个数组arrx和arry,长度都为N。代表二维平面上有N个点,第i个点的x 坐标和y坐标分别为arrx[i]和arry[i],返回求一条直线最多能穿过多少个点? 7 | 8 | -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/200. ★算法题目汇总★/★算法面试题汇总/三数之和.md: -------------------------------------------------------------------------------- 1 | # 三数之和 2 | [M] 3 | 4 | --- 5 | https://leetcode-cn.com/problems/3sum/ 6 | 7 | 8 | ![[双向双指针#[15. 三数之和](https //leetcode.cn/problems/3sum/)]] -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/200. ★算法题目汇总★/★算法面试题汇总/二叉树上两个节点的最低公共祖先.md: -------------------------------------------------------------------------------- 1 | # 二叉树上两个节点的最低公共祖先 2 | 3 | 4 | #二叉树的递归套路 5 | 6 | 7 | --- 8 | 9 | 给定一棵二叉树的头节点head,和另外两个节点a和b。 10 | 返回a和b的最低公共祖先 11 | -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/200. ★算法题目汇总★/★算法面试题汇总/分割等和子集.md: -------------------------------------------------------------------------------- 1 | # 分割等和子集 2 | 3 | [M] 4 | 5 | --- 6 | https://leetcode-cn.com/problems/partition-equal-subset-sum/ 7 | 8 | --- 9 | 讲过, skip 10 | -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/200. ★算法题目汇总★/★算法面试题汇总/合并两个有序链表.md: -------------------------------------------------------------------------------- 1 | # 合并两个有序链表 2 | [E] 3 | 4 | 21.合并两个有序链表 5 | 6 | --- 7 | 8 | https://leetcode-cn.com/problems/merge-two-sorted-lists/ 9 | 10 | 外排 -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/200. ★算法题目汇总★/★算法面试题汇总/数组的子集不能累加出的最小正数.md: -------------------------------------------------------------------------------- 1 | # 数组的子集不能累加出的最小正数 2 | 3 | --- 4 | 5 | 6 | 给定一个正数数组arr, 7 | 返回arr的子集不能累加出的最小正数 8 | 1)正常怎么做? 9 | 2)如果arr中肯定有1这个值,怎么做? 10 | -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/200. ★算法题目汇总★/★算法面试题汇总/最多可以同时有多少场比赛.md: -------------------------------------------------------------------------------- 1 | # 最多可以同时有多少场比赛 2 | 3 | --- 4 | 5 | 给定一个数组arr,代表每个人的能力值。再给定一个非负数k 6 | 如果两个人能力差值正好为k,那么可以凑在一起比赛 7 | 一局比赛只有两个人 8 | 返回最多可以同时有多少场比赛 9 | -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/200. ★算法题目汇总★/★算法面试题汇总/最长回文子串的长度.md: -------------------------------------------------------------------------------- 1 | # 最长回文子串的长度 2 | 3 | #Manacher算法 4 | 5 | --- 6 | 7 | 假设字符串str长度为N,想返回最长回文子串的长度 8 | 9 | 时间复杂度O(N) 10 | 11 | [[Manacher算法代码]] -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/200. ★算法题目汇总★/算法群面试题/1130-LeetCode-重构字符串.md: -------------------------------------------------------------------------------- 1 | # 1130-LeetCode-重构字符串 2 | 3 | --- 4 | 5 | 767. [[重构字符串]] [M] 6 | https://leetcode-cn.com/problems/reorganize-string/ 7 | 8 | -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/200. ★算法题目汇总★/算法群面试题/1207-字符消除游戏.md: -------------------------------------------------------------------------------- 1 | # 1207-字符消除游戏 2 | 3 | --- 4 | 5 | - [[字符消除游戏]] 6 | 7 | --- 8 | 解答参考 ref: 9 | - [[外部信息简单化的处理技巧]] 10 | 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/300. 算法题目分类总结/按题目系列分类/岛数量系列问题.md: -------------------------------------------------------------------------------- 1 | # 岛数量系列问题 2 | 3 | --- 4 | 5 | - [[岛屿数量]] 6 | - [[岛屿数量 II]] 7 | - [[二维01矩阵中一共有多少个岛]] : [[并行算法]] 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/100. 算法课程/02. 大厂刷题班/大厂刷题班41.md: -------------------------------------------------------------------------------- 1 | # 大厂刷题班41 2 | 3 | --- 4 | [[无序数组变成有序数组的最小交换次数]] 5 | 6 | [[最长的有效韵律子序列长度]] 7 | 8 | [[到达N号节点的最小到达时间]] 9 | 10 | 31.[[下一个排列]] [M] -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/100. 算法课程/02. 大厂刷题班/大厂刷题班48.md: -------------------------------------------------------------------------------- 1 | # 大厂刷题班48 2 | 3 | --- 4 | 5 | [[第K小的数字对差值]] 6 | 7 | 472.[[连接词]] [H] 8 | 9 | 483.[[最小好进制]] [H] 10 | 11 | 499.[[迷宫 III]] 12 | 13 | -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/100. 算法课程/03. 算法营养课/2021年12月第2周.md: -------------------------------------------------------------------------------- 1 | # 2021年12月第2周 2 | 3 | --- 4 | 5 | 2092.[[找出知晓秘密的所有专家]] [H] 6 | 7 | [[黑洞的最大半径]] 8 | 9 | [[魔法操作下的数组最大累加和]] 10 | 11 | [[多叉树上的达标路径数]] -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/100. 算法课程/03. 算法营养课/2022年6月第4周.md: -------------------------------------------------------------------------------- 1 | # 2022年6月第4周 2 | 3 | --- 4 | 5 | 727.[[最小窗口子序列]] [H] 6 | 7 | [[栈的管理器]] 8 | 9 | [[叠罗汉游戏]] 10 | 11 | 774. [[最小化去加油站的最大距离]] [H] 12 | -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/100. 算法课程/33. 经典面试题讲解/经典面试题目18.md: -------------------------------------------------------------------------------- 1 | # 经典面试题目(十八) 2 | 3 | --- 4 | 5 | 第4期第5节: 6 | - 题目1: [[最长回文子序列]] 7 | - 题目2: [[蛇走的轨迹问题]] 8 | - 题目3: [[基本计算器]] 9 | - 题目4: [[子序列回文]] 10 | -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/100. 算法课程/33. 经典面试题讲解/经典面试题目31.md: -------------------------------------------------------------------------------- 1 | # 经典面试题目(三十一) 2 | 3 | --- 4 | 5 | 第5期第6节: 6 | 7 | - 题目1: [[移除盒子]] 8 | - 题目2: [[奇怪的打印机]] 9 | - 题目3: [[最小区间]] 10 | - 题目4: [[还原数组丢失的数字]] -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/200. ★算法题目汇总★/★算法面试题汇总/M 整除数对.md: -------------------------------------------------------------------------------- 1 | 2 | # M 整除数对 3 | 4 | #微软 5 | 6 | --- 7 | 8 | 给定一个数组arr,给定一个正数M 9 | 如果arr[i] + arr[j]可以被M整除,并且i < j,那么(i,j)叫做一个M整除对 10 | 返回arr中M整除对的总数量 -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/200. ★算法题目汇总★/★算法面试题汇总/两棵二叉树是否有一致结构的子树.md: -------------------------------------------------------------------------------- 1 | 2 | # 两棵二叉树是否有一致结构的子树 3 | 4 | #KMP算法 5 | 6 | --- 7 | 8 | 给定两棵二叉树的头节点head1和head2 9 | 10 | 想知道head1中是否有某个子树的结构和head2完全一样 11 | -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/200. ★算法题目汇总★/★算法面试题汇总/二进制中1的个数等于target的数字个数.md: -------------------------------------------------------------------------------- 1 | # 二进制中1的个数等于target的数字个数 2 | 3 | --- 4 | 5 | 限制:0 <= start <= end,0 <= target <= 64 6 | [start,end]范围上的数字,有多少数字二进制中1的个数等于target 7 | -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/200. ★算法题目汇总★/★算法面试题汇总/填充每个节点的下一个右侧节点指针.md: -------------------------------------------------------------------------------- 1 | # 填充每个节点的下一个右侧节点指针 2 | 3 | [M] 4 | 5 | --- 6 | 7 | https://leetcode-cn.com/problems/convert-sorted-array-to-binary-search-tree 8 | -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/200. ★算法题目汇总★/★算法面试题汇总/实现二叉树的按层遍历.md: -------------------------------------------------------------------------------- 1 | # 实现二叉树的按层遍历 2 | 3 | #二叉树 #二叉树遍历 4 | #BFS #队列 5 | 6 | --- 7 | 8 | 1)其实就是宽度优先遍历,用队列 9 | 10 | 2)可以通过设置flag变量的方式,来发现某一层的结束(看题目) 11 | -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/200. ★算法题目汇总★/★算法面试题汇总/序列中的重复数字.md: -------------------------------------------------------------------------------- 1 | # 序列中的重复数字 2 | 3 | 4 | --- 5 | 6 | 7 | 1、2、3...n-1、n、n、n+1、n+2... 8 | 在这个序列中,只有一个数字有重复(n) 9 | 这个序列是无序的,找到重复数字n 10 | 这个序列是有序的,找到重复数字n -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/200. ★算法题目汇总★/★算法面试题汇总/矩阵往返一次的最大路径和.md: -------------------------------------------------------------------------------- 1 | # 矩阵往返一次的最大路径和 2 | 3 | 4 | 5 | --- 6 | 给定一个矩阵matrix,先从左上角开始,每一步只能往右或者往下走,走到右下角。然后从右下角出发,每一步只能往上或者往左走,再回到左上角。任何一个位置的数字,只能获得一遍。返回最大路径和。 7 | -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/200. ★算法题目汇总★/★算法面试题汇总/给你一批信封,返回最大的嵌套层数.md: -------------------------------------------------------------------------------- 1 | # 给你一批信封,返回最大的嵌套层数 2 | 3 | 4 | #最长递增子序列 5 | 6 | --- 7 | 每个信封都有长和宽两个维度的数据,A信封如果想套在B信封里面,A信封必须在长和宽上都小于B信封才行。 8 | 如果给你一批信封,返回最大的嵌套层数 9 | -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/200. ★算法题目汇总★/★算法面试题汇总/被3整除的最大数.md: -------------------------------------------------------------------------------- 1 | # 被3整除的最大数 2 | 3 | #去哪儿 4 | 5 | --- 6 | 7 | 给定一个arr,里面的数字都是0~9 8 | 你可以随意使用arr中的数字,哪怕打乱顺序也行 9 | 请拼出一个能被3整除的,最大的数字,用str形式返回 10 | -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/200. ★算法题目汇总★/★算法面试题汇总/超级水王问题.md: -------------------------------------------------------------------------------- 1 | # 超级水王问题 2 | 3 | --- 4 | 5 | [[数组中出现次数超过一半及超过N除K的数]] 6 | 7 | 扩展1:摩尔投票 8 | 9 | 扩展2:给定一个正数K,返回所有出现次数>N/K的数 10 | 11 | 12 | [[水王数问题拓展]] -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/002. 知识点总结/20. 算法知识点/矩阵处理技巧.md: -------------------------------------------------------------------------------- 1 | # 矩阵处理技巧 2 | #矩阵处理技巧 3 | 4 | --- 5 | 6 | 1)[[zigzag打印矩阵]] 7 | 8 | 2)[[转圈打印矩阵]] 9 | 10 | 3)[[原地旋转正方形矩阵]] 11 | 12 | 核心技巧:找到coding上的宏观调度 13 | -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/004. 刷题经验总结/预处理结构.md: -------------------------------------------------------------------------------- 1 | # 利用预处理结构优化 2 | 3 | --- 4 | 5 | [[算法笔记/zuoAlgorithm/002. 知识点总结/20. 算法知识点/前缀和]] 6 | 7 | [[前缀和数组]] 8 | 9 | [[线段树]] 10 | 11 | [[IndexTree]] 12 | 13 | -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/100. 算法课程/02. 大厂刷题班/大厂刷题班40.md: -------------------------------------------------------------------------------- 1 | # 大厂刷题班40 2 | 3 | --- 4 | 5 | [[分裂数组中的1]] 6 | 7 | [[会议安排的最大收益]] 8 | 9 | [[让数组有序]] 10 | 11 | [[数组都变成一种数的最小次数]] 12 | 13 | [[被3整除的最大数]] -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/100. 算法课程/02. 大厂刷题班/大厂刷题班50.md: -------------------------------------------------------------------------------- 1 | # 大厂刷题班50 2 | 3 | --- 4 | 5 | 568.[[最大休假天数]] [H] 6 | 7 | 587.[[安装栅栏]] [H] 8 | 9 | 588.[[设计内存文件系统]] [H] 10 | 11 | 600.[[不含连续1的非负整数]] [H] -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/100. 算法课程/03. 算法营养课/2022年3月第5周.md: -------------------------------------------------------------------------------- 1 | # 2022年3月第5周 2 | 3 | --- 4 | 5 | # [[KM算法]] 6 | 7 | 8 | [[移动棋子的最小代价]] 9 | 10 | 2172. [[数组的最大与和]] [M] 11 | 12 | [[我军一起干掉敌人的最少移动数]] 13 | -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/100. 算法课程/03. 算法营养课/2022年6月第3周.md: -------------------------------------------------------------------------------- 1 | # 2022年6月第3周 2 | --- 3 | 4 | 768. [[最多能完成排序的块 II]] [H] 5 | 6 | 2312. [[卖木头块]] [H] 7 | 8 | 715. [[Range 模块]] [H] 9 | 10 | [[货物数量]] 11 | -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/100. 算法课程/31. 训练营第4期/第1节.md: -------------------------------------------------------------------------------- 1 | - 题目1: [[二维数组最大递增链的长度]] 2 | - 题目2: [[数组中离给定K值最近的子数组累加和]] 3 | - 题目3: [[二维数组中离给定K值最近的子矩阵累加和]] 4 | - 题目4: [[二维数组中可以走出的单词]] 5 | - 题目5: [[数组中添加加减乘除运算符得到指定值的所有方法]] -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/100. 算法课程/31. 训练营第4期/第6节.md: -------------------------------------------------------------------------------- 1 | - 题目1: [[整数拆分]] 2 | - 题目2: [[求1~N所有数字排列中,等于指定K个逆序对数的排列数]] 3 | - 题目3: [[200. ★算法题目汇总★/★算法面试题汇总/搜索二叉树上最大子拓扑结构的大小]] 4 | - 题目4: [[将长度为2N数组的前半跟后半数组每个数交替]] 5 | -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/200. ★算法题目汇总★/★算法面试题汇总/四数相加 II.md: -------------------------------------------------------------------------------- 1 | # 四数相加 II 2 | 3 | [H] 4 | 5 | --- 6 | https://leetcode-cn.com/problems/4sum-ii 7 | 8 | ![[哈希表#[454. 四数相加 II](https //leetcode.cn/problems/4sum-ii/)]] -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/200. ★算法题目汇总★/★算法面试题汇总/快乐数.md: -------------------------------------------------------------------------------- 1 | # 快乐数 2 | 3 | [E] 4 | 5 | --- 6 | https://leetcode-cn.com/problems/happy-number 7 | 8 | ![[哈希表#[202. 快乐数](https //leetcode.cn/problems/happy-number/)]] -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/200. ★算法题目汇总★/★算法面试题汇总/数组中全是1的最大正方形.md: -------------------------------------------------------------------------------- 1 | # 数组中全是1的最大正方形 2 | 3 | 4 | --- 5 | 一个数组中, 画正方形 6 | 找里面全是1的正方形 7 | 这个矩阵不是0就是1 8 | 返回达标正方形里含有1最多的个数 9 | 10 | 11 | 类似: [[最大正方形]] 12 | -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/200. ★算法题目汇总★/★算法面试题汇总/最大矩形.md: -------------------------------------------------------------------------------- 1 | # 最大矩形 2 | 3 | 85.最大矩形 4 | 5 | [H] 6 | 7 | --- 8 | 9 | https://leetcode-cn.com/problems/maximal-rectangle/ 10 | 11 | ref: [[全是1的最大子矩形面积]] -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/200. ★算法题目汇总★/★算法面试题汇总/满足条件的子数组个数.md: -------------------------------------------------------------------------------- 1 | # 满足条件的子数组个数 2 | 3 | #腾讯 4 | #单调栈 5 | 6 | --- 7 | 给定一个长度为n的数组arr,求有多少个子数组满足 : 8 | 子数组两端的值,是这个子数组的最小值和次小值,最小值和次小值谁在最左和最右无所谓 9 | n<=100000 -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/200. ★算法题目汇总★/★算法面试题汇总/铺瓷砖问题.md: -------------------------------------------------------------------------------- 1 | # 铺瓷砖问题 2 | 3 | #状态压缩的动态规划 4 | 5 | --- 6 | 7 | 你有无限的1 x 2的砖块,要铺满2 x N的区域,不同的铺法有多少种? 8 | 9 | 你有无限的1 x 2的砖块,要铺满M x N的区域,不同的铺法有多少种? 10 | -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/200. ★算法题目汇总★/★算法面试题汇总/颜色分类.md: -------------------------------------------------------------------------------- 1 | # 颜色分类 2 | 3 | 75.颜色分类 4 | 5 | [M] 6 | 7 | --- 8 | 9 | https://leetcode-cn.com/problems/sort-colors/ 10 | 11 | 体系学习班, 第5节第2题, 快排中的荷兰国旗问题 -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/200. ★算法题目汇总★/算法群面试题/1125-扁平化嵌套列表迭代器.md: -------------------------------------------------------------------------------- 1 | # 1125-扁平化嵌套列表迭代器 2 | 3 | --- 4 | 5 | 341. [[扁平化嵌套列表迭代器]] [中等] 6 | https://leetcode-cn.com/problems/flatten-nested-list-iterator 7 | 8 | -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/002. 知识点总结/20. 算法知识点/宽度优先遍历.md: -------------------------------------------------------------------------------- 1 | # 宽度优先遍历 (BFS) 2 | 3 | 4 | #BFS 5 | 6 | 7 | --- 8 | 9 | 1,利用队列实现 10 | 2,从源节点开始依次按照宽度进队列,然后弹出 11 | 3,每弹出一个点,把该节点所有没有进过队列的邻接点放入队列 12 | 4,直到队列变空 -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/002. 知识点总结/20. 算法知识点/并行算法.md: -------------------------------------------------------------------------------- 1 | # 并行算法(岛问题只是一种启发性的说明) 2 | 3 | 4 | --- 5 | 6 | 7 | 8 | 9 | [[二维01矩阵中一共有多少个岛]] 10 | 11 | 一个只有0和1两种数字的二维矩阵中,上下左右能练成一片的1,算一个岛 12 | 返回矩阵中,一共有几个岛 13 | -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/100. 算法课程/02. 大厂刷题班/大厂刷题班13.md: -------------------------------------------------------------------------------- 1 | # 大厂刷题班13 2 | 3 | --- 4 | 5 | [[卡牌游戏的获胜概率]] 6 | 7 | 87.[[玄变字符串|扰乱字符串]] [H] 8 | 9 | 517.[[超级洗衣机]] [H] 10 | 11 | 803.[[打砖块]] [H] 12 | 13 | -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/100. 算法课程/03. 算法营养课/2021年12月第3周.md: -------------------------------------------------------------------------------- 1 | # 2021年12月第3周 2 | 3 | --- 4 | 5 | [[CMU入学申请考试题]] 6 | 7 | [[循环右移二叉树]] 8 | 9 | [[二进制取反得到最大数]] 10 | 11 | [[k进制下一的个数]] 12 | 13 | [[为高尔夫比赛砍树]] -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/100. 算法课程/03. 算法营养课/2022年5月第3周.md: -------------------------------------------------------------------------------- 1 | # 2022年5月第3周 2 | 3 | 4 | --- 5 | 6 | [[能够拼出的最大数]] 7 | 8 | [[长度小于K的最长递增子序列]] 9 | 10 | [[大炮打导弹]] 11 | 12 | LCP 09. [[最小跳跃次数]] [H] 13 | 14 | -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/100. 算法课程/33. 经典面试题讲解/经典面试题目23.md: -------------------------------------------------------------------------------- 1 | # 经典面试题目(二十三) 2 | 3 | --- 4 | 5 | 第5期第1节: 6 | 7 | - 题目2: [[最短包含子串]] 8 | - 题目1: [[玄变字符串]] 9 | - 题目4: [[加油站的良好出发点问题]] 10 | - 题目3: [[LFU内存替换算法的实现]] -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/200. ★算法题目汇总★/★算法面试题汇总/100亿个URL的大文件中找出其中所有重复的URL.md: -------------------------------------------------------------------------------- 1 | # 100亿个URL的大文件中找出其中所有重复的URL 2 | 3 | #资源限制类题目 4 | 5 | --- 6 | 有一个包含100亿个URL的大文件,假设每个URL占用64B, 7 | 请找出其中所有重复的URL 8 | 9 | 10 | -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/200. ★算法题目汇总★/★算法面试题汇总/哪一种确定的划分下子数组异或和为零的部分最多.md: -------------------------------------------------------------------------------- 1 | # 哪一种确定的划分下子数组异或和为零的部分最多 2 | 3 | #假设答案法 4 | 5 | 6 | --- 7 | 8 | 哪一种确定的划分下子数组异或和为零的部分最多 9 | 返回最多能划分出几块异或和为零的部分 10 | 11 | 12 | -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/200. ★算法题目汇总★/★算法面试题汇总/字符串子串包含.md: -------------------------------------------------------------------------------- 1 | 2 | # 字符串子串包含 3 | #字节 4 | #滑动窗口 5 | 6 | --- 7 | 8 | 小歪每次会给你两个字符串: 9 | 笔记s1和关键词s2,请你写一个函数 10 | 判断s2的排列之一是否是s1的子串 11 | 如果是,返回true 12 | 否则,返回false -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/200. ★算法题目汇总★/★算法面试题汇总/字符串拼接的最大分数.md: -------------------------------------------------------------------------------- 1 | # 字符串拼接的最大分数 2 | 3 | #从左往右的尝试模型 #前缀树 #Trie 4 | 5 | --- 6 | 7 | 给你一个字符串它可以被array数组里面的东西分解。但是每一个东西给你个分儿,17分,18分, 29分,2分,6分,问你拼出str,怎么一种拼接的方式能让最后的总得分最大 -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/200. ★算法题目汇总★/★算法面试题汇总/实现 strStr().md: -------------------------------------------------------------------------------- 1 | # 实现 strStr() 2 | 3 | [H] 4 | 5 | #KMP算法 6 | 7 | --- 8 | https://leetcode-cn.com/problems/implement-strstr/ 9 | 10 | [[KMP算法代码]] 11 | -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/200. ★算法题目汇总★/★算法面试题汇总/括号生成.md: -------------------------------------------------------------------------------- 1 | # 括号生成 2 | [M] 3 | 4 | --- 5 | 6 | 7 | https://leetcode-cn.com/problems/generate-parentheses/ 8 | 9 | 10 | 11 | - 拓展 12 | 返回所有合法的数量的方法数: 卡特兰数 -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/200. ★算法题目汇总★/★算法面试题汇总/搜索二叉树转换为有序的双向链表.md: -------------------------------------------------------------------------------- 1 | # 搜索二叉树转换为有序的双向链表 2 | 3 | 4 | 5 | --- 6 | 双向链表节点结构和二叉树节点结构是一样的,如果你把last认为是left,next认为是next的话。 7 | 给定一个搜索二叉树的头节点head,请转化成一条有序的双向链表,并返回链表的头节点。 8 | -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/200. ★算法题目汇总★/★算法面试题汇总/搜索旋转排序数组.md: -------------------------------------------------------------------------------- 1 | # 搜索旋转排序数组 2 | 3 | 33.搜索旋转排序数组 4 | 5 | [M] 6 | 7 | #二分法 8 | 9 | --- 10 | 11 | https://leetcode-cn.com/problems/search-in-rotated-sorted-array -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/200. ★算法题目汇总★/★算法面试题汇总/数组的子集能否累加出K.md: -------------------------------------------------------------------------------- 1 | # 数组的子集能否累加出K 2 | 3 | --- 4 | 5 | 给定一个有正、有负、有0的数组arr, 6 | 给定一个整数k, 7 | 返回arr的子集是否能累加出k 8 | 1)正常怎么做? 9 | 2)如果arr中的数值很大,但是arr的长度不大,怎么做? 10 | -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/200. ★算法题目汇总★/★算法面试题汇总/有效的括号.md: -------------------------------------------------------------------------------- 1 | # 有效的括号 2 | [E] 3 | 4 | --- 5 | https://leetcode-cn.com/problems/valid-parentheses/ 6 | ![[栈和队列#[20. 有效的括号](https //leetcode.cn/problems/valid-parentheses/)]] -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/200. ★算法题目汇总★/★算法面试题汇总/编辑距离.md: -------------------------------------------------------------------------------- 1 | # 编辑距离 2 | 3 | 72.编辑距离 4 | 5 | [M] 6 | 7 | --- 8 | 9 | ref:[[编辑距离系列问题]] 10 | 11 | https://leetcode-cn.com/problems/edit-distance/ 12 | 13 | -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/200. ★算法题目汇总★/★算法面试题汇总/非负数组子序列中累加和%m的最大值.md: -------------------------------------------------------------------------------- 1 | # 非负数组子序列中累加和%m的最大值 2 | 3 | #动态规划 4 | #分治 5 | #根据数据量猜解法 6 | 7 | 8 | --- 9 | 给定一个非负数组arr,和一个正数m 10 | 返回arr的所有子序列中累加和%m之后的最大值。 11 | -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/200. ★算法题目汇总★/★算法面试题汇总/面值数组组成面值的最少货币数.md: -------------------------------------------------------------------------------- 1 | # 面值数组组成面值的最少货币数 2 | 3 | #斜率优化 4 | 5 | --- 6 | 7 | arr是面值数组,其中的值都是正数且没有重复。再给定一个正数aim。 8 | 每个值都认为是一种面值,且认为张数是无限的。 9 | 返回组成aim的最少货币数 10 | -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/200. ★算法题目汇总★/算法群面试题/1116-阿里.md: -------------------------------------------------------------------------------- 1 | # 1116-阿里 2 | 3 | --- 4 | 5 | 6 | [[深度复制带有rand指针的链表]] 7 | 8 | [[LRU缓存机制]] 9 | 10 | 11 | 电话后邮件发面试题, 两题选其一, 半小时, 类似牛客网的 阿里伯乐系统, 共享页面 12 | 13 | -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/200. ★算法题目汇总★/算法群面试题/1219-华为.md: -------------------------------------------------------------------------------- 1 | # 1219-华为 2 | 3 | 4 | --- 5 | 6 | - [[整数数组子数组平均值小于等于V的最大长度]] 7 | 8 | 时间复杂度能做到O(N) 9 | 利用数组三连问题,第三连 10 | 都减去K之后,求数组累加和<=0的最大子数组 11 | 12 | 13 | -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/300. 算法题目分类总结/按题目系列分类/咖啡机系列问题.md: -------------------------------------------------------------------------------- 1 | # 咖啡机系列问题 2 | 3 | --- 4 | 5 | [[喝咖啡的最好时间]] 6 | [[所有咖啡杯变干净的最早时间]] 7 | 8 | 上面两道题目的合并: 9 | [[喝咖啡洗咖啡杯问题]] 10 | 11 | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/001. 难点重点照顾/扣边界的练习题.md: -------------------------------------------------------------------------------- 1 | # 扣边界的练习题 2 | 3 | 4 | --- 5 | 6 | [[两个有序数组中最大的k个数]]-最优解 7 | > 使用[[两个等长有序数组求上中位数]]的算法原型, 手动验证扣掉无效的数 8 | 9 | ### [[链表相关问题]] 10 | 11 | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/004. 刷题经验总结/数据结构的设计题目.md: -------------------------------------------------------------------------------- 1 | # 数据结构的设计题目 2 | 3 | --- 4 | 5 | Careercup上比较多 6 | 7 | 使用基本结构拼出来: 8 | 堆, 队列, 栈, Hash表, 双链表, 有序表 9 | 10 | [[LRU内存替换算法的实现]] 11 | [[LFU内存替换算法的实现]] 12 | [[实现最小栈]] -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/100. 算法课程/01. 体系学习班/37 有序表(下).md: -------------------------------------------------------------------------------- 1 | # 有序表(下) 2 | 3 | --- 4 | 5 | 题目一: [[区间和达标的子数组数量]] 6 | 7 | 题目二: [[滑动窗口中位数]] 8 | 9 | 题目三: [[设计一种复杂度为O(logN)高效数据结构]] 10 | 11 | 12 | ## [[红黑树]] -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/100. 算法课程/02. 大厂刷题班/大厂刷题班05.md: -------------------------------------------------------------------------------- 1 | # 大厂刷题班05 2 | 3 | --- 4 | 5 | [[根据二叉树后序遍历结果生成整颗树]] 6 | 7 | [[二叉树上的相等子树]] 8 | 9 | [[编辑距离系列问题]]: 经典中的经典 10 | 11 | [[问字符串s2最少删除多少字符可以成为s1的子串]] 12 | 13 | -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/100. 算法课程/02. 大厂刷题班/大厂刷题班39.md: -------------------------------------------------------------------------------- 1 | # 大厂刷题班39 2 | 3 | --- 4 | 5 | [[删除字符串的最大价值]] 6 | 7 | [[满足条件的子数组个数]] 8 | 9 | [[字符数必须是K种的子序列个数]] 10 | 11 | [[二维矩阵的跳跃问题]] 12 | 13 | [[全消子序列]] -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/100. 算法课程/02. 大厂刷题班/大厂刷题班45.md: -------------------------------------------------------------------------------- 1 | # 大厂刷题班45 2 | 3 | --- 4 | 5 | [[堆积木]] 6 | 7 | 291.[[单词规律 II]] [M] 8 | 9 | 403.[[青蛙过河]] [H] 10 | 11 | 2035.[[将数组分成两个数组并最小化数组和的差]] [H] 12 | 13 | -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/100. 算法课程/02. 大厂刷题班/大厂刷题班46.md: -------------------------------------------------------------------------------- 1 | # 大厂刷题班46 2 | 3 | --- 4 | 5 | 363.[[矩形区域不超过 K 的最大数值和]] [H] 6 | 7 | 391.[[完美矩形]] [H] 8 | 9 | 411.[[最短独占单词缩写]] [H] 10 | 11 | 425.[[单词方块]] [H] 12 | -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/100. 算法课程/03. 算法营养课/2022年10月第1周.md: -------------------------------------------------------------------------------- 1 | # 2022年10月第1周 2 | 3 | --- 4 | 5 | 1192.[[查找集群内的关键连接]] [H] 6 | 7 | LCP 54. [[夺回据点]] [H] 8 | 9 | [[商品价格严格递增的最小操作次数]] 10 | 11 | [[同色球升序排列的最少操作次数]] -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/100. 算法课程/03. 算法营养课/2022年2月第4周.md: -------------------------------------------------------------------------------- 1 | # 2022年2月第4周 2 | 3 | --- 4 | 5 | [[相同数量的的划分]] 6 | 7 | [[最小的达标数字]] 8 | 9 | 1043.[[分隔数组以得到最大和]] 10 | 11 | [[所有的降序三元组数量]] 12 | 13 | 2157.[[字符串分组]] -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/100. 算法课程/03. 算法营养课/2022年6月第1周.md: -------------------------------------------------------------------------------- 1 | # 2022年6月第1周 2 | 3 | --- 4 | 5 | 1706.[[球会落何处]] [M] 6 | 7 | 467.[[环绕字符串中唯一的子字符串]] [M] 8 | 9 | 726.[[原子的数量]] [H] 10 | 11 | 2272.[[最大波动的子字符串]] [H] -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/100. 算法课程/03. 算法营养课/2022年7月第3周.md: -------------------------------------------------------------------------------- 1 | # 2022年7月第3周 2 | 3 | --- 4 | 5 | 757.[[设置交集大小至少为2]] [H] 6 | 7 | 678.[[有效的括号字符串]] [M] 8 | 9 | 347.[[前 K 个高频元素]] [M] 10 | 11 | 761.[[特殊的二进制序列]] [H] -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/100. 算法课程/31. 训练营第4期/第3节.md: -------------------------------------------------------------------------------- 1 | - 题目1: [[无序数组如果排序之后相邻数之间的最大差值]] 2 | - 题目2: [[使用单词表拼接长字符串的方法数]] 3 | - 题目3: [[求二叉树路径累加和为K是最长路径的节点数]] 4 | - 题目4: [[找到数组中只出现1次的数]] 5 | - 题目5: [[数组中出现次数超过一半及超过N除K的数]] 6 | -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/100. 算法课程/33. 经典面试题讲解/经典面试题目24.md: -------------------------------------------------------------------------------- 1 | # 经典面试题目(二十四) 2 | 3 | --- 4 | 5 | 第5期第2节: 6 | 7 | - 题目4: [[数组最大的三子数组的最大和]] 8 | - 题目2: [[分糖果问题]] 9 | - 题目3: [[二叉树放置照相机]] 10 | - 题目1: [[距离首都距离]] 11 | -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/200. ★算法题目汇总★/★算法面试题汇总/以最少的跳跃次数跳到最后一个数.md: -------------------------------------------------------------------------------- 1 | # 以最少的跳跃次数跳到最后一个数 2 | 3 | 4 | #从左往右的尝试模型 5 | 6 | --- 7 | 给出一组正整数arr,你从第0个数向最后一个数, 8 | 每个数的值表示你从这个位置可以向右跳跃的最大长度 9 | 计算如何以最少的跳跃次数跳到最后一个数。 10 | -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/200. ★算法题目汇总★/★算法面试题汇总/反转字符串.md: -------------------------------------------------------------------------------- 1 | # 反转字符串 2 | 3 | [E] 4 | 5 | --- 6 | https://leetcode-cn.com/problems/reverse-string 7 | 8 | ![[字符串#[344. 反转字符串](https //leetcode.cn/problems/reverse-string/)]] -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/200. ★算法题目汇总★/★算法面试题汇总/娱乐值和进攻值.md: -------------------------------------------------------------------------------- 1 | # 娱乐值和进攻值 2 | 3 | --- 4 | 5 | 每一个方案都有两个值(a,b),a为娱乐值,b为进攻值 6 | 给定很多的方案数组,给定娱乐值总目标(int),给定进攻值总目标(int) 7 | 要求选一些方案,这些方案的总娱乐值>=娱乐值总目标,总进攻值>=进攻值总目标 8 | 返回至少需要选几个方案 -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/200. ★算法题目汇总★/★算法面试题汇总/字符串插入形成的字典序最大结果.md: -------------------------------------------------------------------------------- 1 | # 字符串插入形成的字典序最大结果 2 | 3 | #后缀数组 4 | 5 | 6 | --- 7 | 8 | 9 | 10 | 给定两个字符串str1和str2,想把str2整体插入到str1中的某个位置形成最大的字典序 11 | 返回字典序最大的结果 12 | -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/200. ★算法题目汇总★/★算法面试题汇总/对称二叉树.md: -------------------------------------------------------------------------------- 1 | # 对称二叉树 2 | 3 | [E] 4 | 5 | --- 6 | https://leetcode-cn.com/problems/symmetric-tree/ 7 | ` 8 | ![[二叉树#[101. 对称二叉树](https //leetcode.cn/problems/symmetric-tree/)]] -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/200. ★算法题目汇总★/★算法面试题汇总/序列的最大连接数.md: -------------------------------------------------------------------------------- 1 | # 序列的最大连接数 2 | 3 | 4 | --- 5 | 6 | 每一个序列都是`[a,b]`的形式,a < b 7 | 序列连接的方式为,前一个序列的b,要等于后一个序列的a 8 | 比如 :`[3, 7]、[7, 13]、[13, 26]`这三个序列就可以依次连接 9 | 给定若干个序列,求最大连接的数量 -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/200. ★算法题目汇总★/★算法面试题汇总/找到所有数组中消失的数字.md: -------------------------------------------------------------------------------- 1 | # 找到所有数组中消失的数字 2 | 3 | [E] 4 | 5 | #下标循环怼 6 | 7 | --- 8 | 9 | https://leetcode-cn.com/problems/find-all-numbers-disappeared-in-an-array 10 | -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/200. ★算法题目汇总★/★算法面试题汇总/杨辉三角 II.md: -------------------------------------------------------------------------------- 1 | # 杨辉三角 II 2 | 119.杨辉三角 II 3 | [E] 4 | 5 | --- 6 | 7 | https://leetcode-cn.com/problems/pascals-triangle-ii/ 8 | 9 | 0119 : 本题不在高频题列表中,但和0118类似, 大厂刷题班, 第30节, 本节 -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/200. ★算法题目汇总★/★算法面试题汇总/比特位计数.md: -------------------------------------------------------------------------------- 1 | # 比特位计数 2 | 3 | [E] 4 | 5 | 338.比特位计数 6 | 7 | --- 8 | 9 | ref: 191. [[位1的个数]] 10 | 11 | https://leetcode-cn.com/problems/counting-bits/ 12 | 13 | -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/200. ★算法题目汇总★/★算法面试题汇总/滑动窗口内的最大值.md: -------------------------------------------------------------------------------- 1 | # 滑动窗口内的最大值 2 | 3 | #滑动窗口 4 | 5 | --- 6 | 7 | 假设一个固定大小为W的窗口,依次划过arr,返回每一次滑出窗口的最大值 8 | 例如,arr = [4,3,5,4,3,3,6,7], W = 3 9 | 返回:[5,5,5,4,6,7] 10 | -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/200. ★算法题目汇总★/★算法面试题汇总/计数质数.md: -------------------------------------------------------------------------------- 1 | # 计数质数 2 | 3 | [M] 4 | 5 | 204.计数质数 6 | 7 | --- 8 | 9 | https://leetcode-cn.com/problems/count-primes 10 | 11 | 12 | [[素数筛法]] 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/200. ★算法题目汇总★/★算法面试题汇总/重复的子字符串.md: -------------------------------------------------------------------------------- 1 | # 重复的子字符串 2 | 3 | [E] 4 | #KMP算法 5 | 6 | --- 7 | 8 | https://leetcode-cn.com/problems/repeated-substring-pattern/ 9 | 10 | 就是KMP,而且只需要kmp的next数组概念 -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/200. ★算法题目汇总★/★算法面试题汇总/重新分类单链表.md: -------------------------------------------------------------------------------- 1 | # 重新分类单链表 2 | 3 | #腾讯 4 | 5 | --- 6 | 7 | 8 | 给定一个单链表的头节点head,每个节点都有value(>0),给定一个正数m 9 | value%m的值一样的节点算一类 10 | 请把所有的类根据单链表的方式重新连接好,返回每一类的头节点 -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/200. ★算法题目汇总★/★算法面试题汇总/问字符串s2最少删除多少字符可以成为s1的子串.md: -------------------------------------------------------------------------------- 1 | # 问字符串s2最少删除多少字符可以成为s1的子串 2 | 3 | 4 | --- 5 | 给定两个字符串s1和s2,问s2最少删除多少字符可以成为s1的子串? 6 | 比如 s1 = "abcde",s2 = "axbc" 7 | 返回1。s2删掉'x'就是s1的子串了。 8 | -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/001. 难点重点照顾/一些固定的需要记忆的结论.md: -------------------------------------------------------------------------------- 1 | # 一些固定的需要记忆的结论 2 | 3 | --- 4 | 5 | 6 | 任何数%1都是等于0 7 | 8 | 重要结论: N层汉诺塔问题固定最优解: 2^N - 1 9 | 10 | 一个整数除2向上取整: N+1/2, 不用管这个数是奇数还是偶数 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/001. 难点重点照顾/数组0位置下标弃而不用的一些算法.md: -------------------------------------------------------------------------------- 1 | # 数组0位置下标弃而不用的一些算法 2 | 3 | --- 4 | 5 | 6 | [[线段树]]/区间修改树: 0位置都不用, 统一认为下标全部从1开始 7 | 8 | [[堆排序]]: 有些优化为了使用位运算速度快, 0位置不使用, 从1开始 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/010. 代码模板/滑动窗口模板.md: -------------------------------------------------------------------------------- 1 | # 滑动窗口模板 2 | 3 | --- 4 | 5 | https://leetcode.cn/problems/max-consecutive-ones-iii/solution/fen-xiang-hua-dong-chuang-kou-mo-ban-mia-f76z/ 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/100. 算法课程/02. 大厂刷题班/大厂刷题班08.md: -------------------------------------------------------------------------------- 1 | # 大厂刷题班08 2 | 3 | --- 4 | 5 | 224.[[基本计算器]] [H] 6 | 7 | 11.[[盛最多水的容器]] [M] 8 | 9 | [[蛇走的轨迹问题]] 10 | 11 | [[二维数组中可以走出的单词]] 12 | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/100. 算法课程/02. 大厂刷题班/大厂刷题班16.md: -------------------------------------------------------------------------------- 1 | # 大厂刷题班16 2 | 3 | --- 4 | 5 | [[数组的子集能否累加出K]] 6 | 7 | [[数组的子集不能累加出的最小正数]] 8 | 9 | 330.[[按要求补齐数组]] [H] 10 | 11 | [[约瑟夫环问题]] [E] 12 | 13 | [[求数组调整之后的逆序对数量]] -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/100. 算法课程/03. 算法营养课/2022年1月第1周.md: -------------------------------------------------------------------------------- 1 | # 2022年1月第1周 2 | 3 | --- 4 | 5 | [[尽可能的短的剩余字符串]] 6 | 7 | 913.[[猫和老鼠]] 8 | 9 | 1770.[[执行乘法运算的最大分数]] 10 | 11 | [[从左下角走到右下角的最短距离]] 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/100. 算法课程/03. 算法营养课/2022年5月第2周.md: -------------------------------------------------------------------------------- 1 | # 2022年5月第2周 2 | 3 | --- 4 | 5 | [[最多选两件商品的最大价值]] 6 | 7 | [[数组和为X的倍数的修改方案]] 8 | 9 | [[子序列的分数最大累加和]] 10 | 11 | [[施展一次魔法的最短路]] 12 | 13 | [[白色方块的连通块数]] -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/100. 算法课程/03. 算法营养课/2022年9月第1周.md: -------------------------------------------------------------------------------- 1 | # 2022年9月第1周 2 | --- 3 | 4 | 5 | 2370.[[最长理想子序列]] [M] 6 | 7 | [[完成任务能得到的最大收益]] 8 | 9 | [[机器人收衣服]] 10 | 11 | [[大于等于x的区间查询]] 12 | 13 | 785.[[判断二分图]] [M] -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/100. 算法课程/30. 训练营第3期/第8节.md: -------------------------------------------------------------------------------- 1 | - 题目1: [[一种消息接收并打印的结构设计]] 2 | - 题目2: [[普通硬币跟纪念币拼出指定面值]] 3 | - 题目3: [[1~N中所有数字包含1的个数]] 4 | - 题目4: [[打怪兽需要花的最小钱数]] 5 | - 题目5: [[最大可整合子数组的长度]] 6 | - 题目6: [[最少添加多少字符使字符串变为回文串]] -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/100. 算法课程/33. 经典面试题讲解/经典面试题目2.md: -------------------------------------------------------------------------------- 1 | # 经典面试题目(二) 2 | 3 | 4 | --- 5 | 6 | - 题目6: [[根据要求构造出一个长度为M的数组]] 7 | - 题目7: [[二叉树的最大路径和]] 8 | 9 | --- 10 | 11 | - 题目2: [[使每个打包机器上的物品数量相等需要搬动的最小轮数]] 12 | -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/100. 算法课程/33. 经典面试题讲解/经典面试题目25.md: -------------------------------------------------------------------------------- 1 | # 经典面试题目(二十五) 2 | 3 | --- 4 | 5 | 第5期第2节: 6 | - 题目1: [[距离首都距离]] 7 | 8 | 9 | --- 10 | ## [[动态规划中的四边形不等式优化]] 11 | 第5期第4节: 12 | - 题目3: [[邮局选址问题]] 13 | 14 | -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/100. 算法课程/33. 经典面试题讲解/经典面试题目3.md: -------------------------------------------------------------------------------- 1 | # 经典面试题目(三) 2 | 3 | 4 | --- 5 | 6 | 3期第2节 7 | 8 | - 题目4: [[数组直方图装水]] 9 | - 题目5: [[二维数组直方图装水]] 10 | - 题目6: [[累加和为aim的所有二元组跟三元组]] 11 | - 题目7: [[第k小的数值对]] -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/200. ★算法题目汇总★/★算法面试题汇总/40亿个无符号整数的中位数.md: -------------------------------------------------------------------------------- 1 | # 40亿个无符号整数的中位数 2 | 3 | 4 | 5 | #资源限制类题目 6 | 7 | --- 8 | 9 | 10 | 32位无符号整数的范围是0~4294967295,现在有40亿个无符号整数 11 | 可以使用最多10MB的内存,怎么找到这40亿个整数的中位数? 12 | -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/200. ★算法题目汇总★/★算法面试题汇总/两数游戏.md: -------------------------------------------------------------------------------- 1 | # 两数游戏 2 | 3 | #字节 4 | 5 | --- 6 | 7 | 8 | 给定两个数a和b 9 | 第1轮,把1选择给a或者b 10 | 第2轮,把2选择给a或者b 11 | ... 12 | 第i轮,把i选择给a或者b 13 | 想让a和b的值一样大,请问至少需要多少轮? -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/200. ★算法题目汇总★/★算法面试题汇总/二叉搜索子树的最大键值和.md: -------------------------------------------------------------------------------- 1 | # 二叉搜索子树的最大键值和 2 | [H] 3 | 4 | #二叉树的递归套路 5 | 6 | --- 7 | 8 | https://leetcode-cn.com/problems/maximum-sum-bst-in-binary-tree/ 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/200. ★算法题目汇总★/★算法面试题汇总/司机最高总收入.md: -------------------------------------------------------------------------------- 1 | # 司机最高总收入 2 | 3 | --- 4 | 5 | 现有司机N * 2人,调度中心会将所有司机平分给A、B两个区域 6 | 第 i 个司机去A可得收入为income[i][0], 7 | 第 i 个司机去B可得收入为income[i][1], 8 | 返回所有调度方案中能使所有司机总收入最高的方案,是多少钱 9 | -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/200. ★算法题目汇总★/★算法面试题汇总/回文子串最多的划分方案.md: -------------------------------------------------------------------------------- 1 | # 回文子串最多的划分方案 2 | #optiver 3 | 4 | 5 | --- 6 | 7 | 给定一个字符串str,和一个正数k 8 | 你可以随意的划分str成多个子串, 9 | 目的是找到在某一种划分方案中,有尽可能多的回文子串,长度>=k,并且没有重合 10 | 返回有几个回文子串 -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/200. ★算法题目汇总★/★算法面试题汇总/扁平化嵌套列表迭代器.md: -------------------------------------------------------------------------------- 1 | # 扁平化嵌套列表迭代器 2 | 3 | [M] 4 | 5 | 341.扁平化嵌套列表迭代器 6 | 7 | --- 8 | 9 | 10 | https://leetcode-cn.com/problems/flatten-nested-list-iterator 11 | -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/200. ★算法题目汇总★/★算法面试题汇总/无序数组变成有序数组的最小交换次数.md: -------------------------------------------------------------------------------- 1 | # 无序数组变成有序数组的最小交换次数 2 | 3 | #小红书 4 | #下标循环怼 5 | 6 | --- 7 | 8 | 一个无序数组长度为n,所有数字都不一样,并且值都在`[0...n-1]`范围上 9 | 返回让这个无序数组变成有序数组的最小交换次数 10 | -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/200. ★算法题目汇总★/★算法面试题汇总/最多K次交易买卖股票的最大钱数.md: -------------------------------------------------------------------------------- 1 | # 最多K次交易买卖股票的最大钱数 2 | 3 | 4 | #斜率优化 5 | 6 | --- 7 | 给定一个数组arr,从左到右表示昨天从早到晚股票的价格 8 | 作为一个事后诸葛亮,你想知 道如果交易次数不超过K次, 9 | 且每次交易只买卖一股,返回能挣到的最大钱数 10 | -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/200. ★算法题目汇总★/★算法面试题汇总/棋盘染色问题.md: -------------------------------------------------------------------------------- 1 | # 棋盘染色问题 2 | 3 | #数学问题 4 | #打表法 5 | 6 | --- 7 | 8 | N * M的棋盘 9 | 每种颜色的格子数必须相同的 10 | 上下左右的格子算相邻 11 | 相邻格子染的颜色必须不同 12 | 所有格子必须染色 13 | 返回至少多少种颜色可以完成任务 14 | -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/200. ★算法题目汇总★/★算法面试题汇总/求出每天热门Top100词汇.md: -------------------------------------------------------------------------------- 1 | # 求出每天热门Top100词汇 2 | 3 | --- 4 | 5 | 某搜索公司一天的用户搜索词汇是海量的(百亿数据量),请设计一种求出每天热门Top100词汇的可行办法 6 | 7 | --- 8 | 9 | - [[外排序]] 10 | - [[二维堆]] 11 | 12 | -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/200. ★算法题目汇总★/★算法面试题汇总/环形链表.md: -------------------------------------------------------------------------------- 1 | # 环形链表 2 | 3 | [E] 4 | 5 | --- 6 | 7 | https://leetcode-cn.com/problems/linked-list-cycle 8 | 9 | ![[链表#[141. 环形链表](https //leetcode.cn/problems/linked-list-cycle/)]] -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/200. ★算法题目汇总★/★算法面试题汇总/甲乙轮流拿球谁会赢.md: -------------------------------------------------------------------------------- 1 | # 甲乙轮流拿球谁会赢 2 | 3 | #微众 4 | #打表法 5 | 6 | --- 7 | 8 | 人工智能岗 9 | 一开始有21个球,甲和乙轮流拿球,甲先、乙后 10 | 每个人在自己的回合,一定要拿不超过3个球,不能不拿 11 | 最终谁的总球数为偶数,谁赢 12 | 请问谁有必胜策略 -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/200. ★算法题目汇总★/★算法面试题汇总/相对几乎有序数组排序.md: -------------------------------------------------------------------------------- 1 | # 相对几乎有序数组排序 2 | 3 | #堆排序 4 | 5 | 6 | --- 7 | 8 | 已知一个几乎有序的数组。几乎有序是指,如果把数组排好顺序的话,每个元素移动的距离一定不超过k,并且k相对于数组长度来说是比较小的。 9 | 10 | 请选择一个合适的排序策略,对这个数组进行排序。 -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/200. ★算法题目汇总★/★算法面试题汇总/累加和最小的前k个子序列累加和.md: -------------------------------------------------------------------------------- 1 | # 累加和最小的前k个子序列累加和 2 | #经典算法原型 3 | #亚马逊 4 | 5 | --- 6 | 7 | 8 | 给定一个数组arr,含有n个数字,都是非负数 9 | 给定一个正数k 10 | 返回所有子序列中,累加和最小的前k个子序列累加和 11 | 假设K不大,怎么算最快? -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/200. ★算法题目汇总★/★算法面试题汇总/翻转区间后最多的1的数量.md: -------------------------------------------------------------------------------- 1 | # 翻转区间后最多的1的数量 2 | #小红书 3 | 4 | --- 5 | 6 | 3.13 笔试 7 | 数组里有0和1,一定要翻转一个区间,翻转:0变1,1变0 8 | 请问翻转后可以使得1的个数最多是多少? 9 | 10 | ref: [[子数组最大累加和]] 11 | 12 | -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/200. ★算法题目汇总★/★算法面试题汇总/转圈打印N边星号正方形.md: -------------------------------------------------------------------------------- 1 | # 转圈打印N边星号正方形 2 | 3 | 某金融公司面试题 4 | 5 | 6 | #矩阵宏观调度 7 | 8 | --- 9 | 10 | 输入N,在控制台上输出初始边长为N的图案 11 | 12 | ![[Pasted image 20210321222750.png]] 13 | -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/100. 算法课程/02. 大厂刷题班/大厂刷班题20.md: -------------------------------------------------------------------------------- 1 | # 大厂刷班题20 2 | 3 | --- 4 | 5 | [[已知中序遍历数组和先序遍历数组,返回后序遍历数组]] 6 | 7 | 952.[[按公因数计算最大组件大小]] 8 | 9 | [[将长度为2N数组的前半跟后半数组每个数交替]] 10 | 11 | [[字符串的回文子序列]] 12 | 13 | -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/100. 算法课程/02. 大厂刷题班/大厂刷题班18.md: -------------------------------------------------------------------------------- 1 | # 大厂刷题班18 2 | 3 | --- 4 | 5 | [[汉诺塔游戏中的最优状态]] 6 | 7 | 934.[[最短的桥]] [M] 8 | 9 | [[最大路径和]] 10 | 11 | [[两个有序数组相加和的Topk问题]] 12 | 13 | --- 14 | 15 | [[ICPC风格]] -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/100. 算法课程/03. 算法营养课/2022年6月第2周.md: -------------------------------------------------------------------------------- 1 | # 2022年6月第2周 2 | 3 | --- 4 | 5 | 947.[[移除最多的同行或同列石头]] [M] 6 | 7 | 2281.[[巫师的总力量和]] [H] 8 | 9 | 1819.[[序列中不同最大公约数的数目]] [H] 10 | 11 | 829.[[连续整数求和]] [H] 12 | -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/100. 算法课程/03. 算法营养课/2022年9月第3周.md: -------------------------------------------------------------------------------- 1 | # 2022年9月第3周 2 | 3 | --- 4 | [[黑色棋子的个数]] 5 | 6 | [[迷宫探险]] 7 | 8 | [[能量水平为0的最少操作次数]] 9 | 10 | [[题目组合的个数]] 11 | 12 | [[全是一种字符的最长子串]] 13 | 14 | [[好串的个数]] 15 | -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/100. 算法课程/03. 算法营养课/2022年9月第4周.md: -------------------------------------------------------------------------------- 1 | # 2022年9月第4周 2 | 3 | --- 4 | 5 | [[机器人送货的最快时间]] 6 | 7 | [[所有值全变成1的最少操作次数]] 8 | 9 | [[餐厅安排的最大人数]] 10 | 11 | 1931.[[用三种不同颜色为网格涂色]] [H] 12 | 13 | [[查询实验人数]] -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/100. 算法课程/30. 训练营第3期/第5节.md: -------------------------------------------------------------------------------- 1 | - 题目1: [[问字符串s2最少删除多少字符可以成为s1的子串]] 2 | - 题目2: [[将str1编辑成str2的最小代价]] 3 | - 题目3: [[求完全二叉树节点的个数]] 4 | - 题目4: [[LRU内存替换算法的实现]] 5 | - 题目5: [[两个字符串的最短的变换路径]] 6 | - 题目6: [[主播们能获得的最大收益]] -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/100. 算法课程/31. 训练营第4期/第4节.md: -------------------------------------------------------------------------------- 1 | - 题目1: [[大楼最高点变化的轮廓线]] 2 | - 题目2: [[两个有序数组中最大的k个数]] 3 | - 题目3: [[Nim博弈问题]] 4 | - 题目4: [[约瑟夫环问题]] 5 | - 题目5: [[乘客坐船使用的最少船数]] 6 | - 题目6: [[喝咖啡洗咖啡杯问题]] 7 | - 题目6-2: [[喝咖啡的最好时间]] -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/100. 算法课程/33. 经典面试题讲解/经典面试题目16.md: -------------------------------------------------------------------------------- 1 | # 经典面试题目(十六) 2 | 3 | 4 | --- 5 | 6 | 第4期第4节: 7 | 8 | - 题目2: [[两个有序数组中最大的k个数]] 9 | 10 | 11 | --- 12 | 13 | ## [[约瑟夫环]] 14 | 15 | - [[约瑟夫环的拓展]] 16 | 17 | -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/1000.Misc/竞赛及思维训练.md: -------------------------------------------------------------------------------- 1 | # 竞赛及思维训练 2 | 3 | --- 4 | 5 | [[CodeForce]] 6 | [[Atcoder]] 7 | 8 | 数学思维训练: https://onlinemathcontest.com/ 回答均已正整数形式提交(不看过程) 9 | 10 | 数学类编程题: https://projecteuler.net/ -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/200. ★算法题目汇总★/★算法面试题汇总/Excel表列序号.md: -------------------------------------------------------------------------------- 1 | # Excel表列序号 2 | 3 | [E] 4 | 5 | 171.Excel表列序号 6 | 7 | --- 8 | https://leetcode-cn.com/problems/excel-sheet-column-number 9 | 10 | ref: 168. [[Excel表列名称]] [E] -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/200. ★算法题目汇总★/★算法面试题汇总/在无序数组中生成前十小的数组.md: -------------------------------------------------------------------------------- 1 | # 在无序数组中生成前十小的数组 2 | 3 | --- 4 | 5 | 6 | 先求第10小的数, 假设第10小数字是17, 遍历array, 所有比17小的填入结果数组 7 | 如果只找到6个比17小的数, 最后4个都是17 8 | 9 | 10 | 11 | 在无序数组中生成前十大的数组 类似 -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/200. ★算法题目汇总★/★算法面试题汇总/小人过有鳄鱼的河.md: -------------------------------------------------------------------------------- 1 | # 小人过有鳄鱼的河 2 | 3 | #博弈论 4 | 5 | --- 6 | 7 | 一个小人通过有鳄鱼的河, 鳄鱼可能会在过河时把人吃掉, 但是鳄鱼吃了人以后会变得非常虚弱, 而虚弱的鳄鱼会被其它鳄鱼吃掉, 假设鳄鱼都是绝顶聪明, 问小人在什么时候可以过河, 什么时候不该过河. 8 | 9 | 10 | -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/200. ★算法题目汇总★/★算法面试题汇总/所有砖块最多摆几层.md: -------------------------------------------------------------------------------- 1 | # 所有砖块最多摆几层 2 | 3 | #华为 4 | 5 | --- 6 | 7 | 给定一个正数数组arr,其中每个值代表砖块长度 8 | 所有砖块等高等宽,只有长度有区别 9 | 每一层可以用1块或者2块砖来摆 10 | 要求每一层的长度一样 11 | 要求必须使用所有的砖块 12 | 请问最多摆几层 -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/200. ★算法题目汇总★/★算法面试题汇总/有效的字母异位词.md: -------------------------------------------------------------------------------- 1 | # 有效的字母异位词 2 | [E] 3 | 4 | 5 | --- 6 | 7 | https://leetcode-cn.com/problems/valid-anagram 8 | 9 | ![[哈希表#[242. 有效的字母异位词](https //leetcode.cn/problems/valid-anagram/)]] -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/002. 知识点总结/20. 算法知识点/银行家算法.md: -------------------------------------------------------------------------------- 1 | # 银行家算法 2 | 3 | --- 4 | 5 | https://baike.baidu.com/item/银行家算法/1679781 6 | 7 | >是一个避免死锁(Deadlock)的著名算法,是由艾兹格·迪杰斯特拉在1965年为T.H.E系统设计的一种避免死锁产生的算法。它以银行借贷系统的分配策略为基础,判断并保证系统的安全运行。 8 | -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/100. 算法课程/03. 算法营养课/2022年5月第1周.md: -------------------------------------------------------------------------------- 1 | # 2022年5月第1周 2 | 3 | --- 4 | 5 | 1345.[[跳跃游戏 IV]] [H] 6 | 7 | [[甲乙轮流拿球谁会赢]] 8 | 9 | [[序列中的重复数字]] 10 | 11 | [[因子的平方累加和]] 12 | 13 | [[回文子串最多的划分方案]] 14 | -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/200. ★算法题目汇总★/★算法面试题汇总/40亿个无符号整数找出所有出现了两次的数.md: -------------------------------------------------------------------------------- 1 | # 40亿个无符号整数找出所有出现了两次的数 2 | 3 | 4 | #资源限制类题目 5 | 6 | --- 7 | 32位无符号整数的范围是0~4294967295, 8 | 现在有40亿个无符号整数, 9 | 可以使用最多1GB的内存, 10 | 找出所有出现了两次的数。 11 | 12 | -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/200. ★算法题目汇总★/★算法面试题汇总/会议室能容纳的最多宣讲场次.md: -------------------------------------------------------------------------------- 1 | # 会议室能容纳的最多宣讲场次 2 | 3 | #贪心 4 | 5 | 6 | --- 7 | 一些项目要占用一个会议室宣讲,会议室不能同时容纳两个项目的宣讲。 8 | 给你每一个项目开始的时间和结束的时间 9 | 你来安排宣讲的日程,要求会议室进行的宣讲的场次最多。 10 | 返回最多的宣讲场次。 11 | -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/200. ★算法题目汇总★/★算法面试题汇总/字符串种类.md: -------------------------------------------------------------------------------- 1 | # 字符串种类 2 | 3 | --- 4 | 5 | 只由小写字母(a~z)组成的一批字符串 6 | 都放在字符类型的数组String[] arr中 7 | 如果其中某两个字符串所含有的字符种类完全一样 8 | 就将两个字符串算作一类 9 | 比如:baacbba和bac就算作一类 10 | 返回arr中有多少类? 11 | -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/200. ★算法题目汇总★/★算法面试题汇总/尽可能的短的剩余字符串.md: -------------------------------------------------------------------------------- 1 | # 尽可能的短的剩余字符串 2 | #阿里 3 | #贪心 4 | 5 | --- 6 | 给定一个只由'a'和'b'组成的字符串str, 7 | str中"ab"和"ba"子串都可以消除,消除之后剩下字符会重新靠在一起,继续出现可以消除的子串...你的任务是决定一种消除的顺序,最后让str消除到尽可能的短返回尽可能的短的剩余字符串 -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/200. ★算法题目汇总★/★算法面试题汇总/真实的用户数量.md: -------------------------------------------------------------------------------- 1 | # 真实的用户数量 2 | 3 | #并查集 4 | 5 | 6 | --- 7 | 8 | 每个学生实例有三个属性, {身份证, B站id, githubid}, 有很多学生实例, 其中任何两个学生实例, 如果身份证, B站id, 或者githubid一样, 就是一个人, 问这些实例中一共有几个人? 9 | 10 | -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/200. ★算法题目汇总★/★算法面试题汇总/翻转二叉树.md: -------------------------------------------------------------------------------- 1 | # 翻转二叉树 2 | 3 | [E] 4 | 5 | --- 6 | 7 | https://leetcode-cn.com/problems/invert-binary-tree/ 8 | 9 | ![[二叉树#[226. 翻转二叉树](https //leetcode.cn/problems/invert-binary-tree/)]] -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/200. ★算法题目汇总★/★算法面试题汇总/达标数组的数量.md: -------------------------------------------------------------------------------- 1 | # 达标数组的数量 2 | 3 | --- 4 | 5 | 给定一个数字n,代表数组的长度 6 | 给定一个数字m,代表数组每个位置都可以在1~m之间选择数字 7 | 所有长度为n的数组中,最长递增子序列长度为3的数组,叫做达标数组 8 | 返回达标数组的数量 9 | 1 <= n <= 500 10 | 1 <= m <= 10 -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/200. ★算法题目汇总★/算法群面试题/1211-LeetCode-440.字典序的第K小数字.md: -------------------------------------------------------------------------------- 1 | # 1211-LeetCode-440.字典序的第K小数字 2 | 3 | --- 4 | 5 | 440.字典序的第K小数字 6 | https://leetcode-cn.com/problems/k-th-smallest-in-lexicographical-order/ 7 | 8 | 9 | -------------------------------------------------------------------------------- /.obsidian/plugins/number-headings-obsidian/styles.css: -------------------------------------------------------------------------------- 1 | div.number-headings-button-container > button { 2 | font-weight: normal; 3 | } 4 | 5 | div.number-headings-question { 6 | font-weight: bold; 7 | margin-bottom: 10px; 8 | } -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/002. 知识点总结/10. 数学基础/判断闰年.md: -------------------------------------------------------------------------------- 1 | # 判断闰年 2 | 3 | --- 4 | 非整百年:能被4整除的为闰年。 5 | 6 | 整百年:能被400整除的是闰年。 7 | 8 | 9 | ```java 10 | boolean leapYear = year % 100 == 0 ? (year % 400 == 0) : (year % 4 == 0); 11 | ``` -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/002. 知识点总结/20. 算法知识点/布谷鸟过滤器.md: -------------------------------------------------------------------------------- 1 | # 布谷鸟过滤器 2 | 3 | --- 4 | 5 | 2014年新出的东西, 有的项目会考 6 | 7 | https://www.cs.cmu.edu/~dga/papers/cuckoo-conext2014.pdf 8 | 9 | https://zhuanlan.zhihu.com/p/68418134 10 | 11 | -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/002. 知识点总结/20. 算法知识点/最大流最小割.md: -------------------------------------------------------------------------------- 1 | # 最大流最小割 2 | 3 | --- 4 | 5 | [[最小费用最大流]] 6 | 7 | [网络流基础-最大流最小割定理](https://www.cnblogs.com/willaty/p/9446563.html) 8 | 9 | [图割-最大流最小切割的最直白解读](https://www.jianshu.com/p/beca253fdc9f) -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/100. 算法课程/01. 体系学习班/19 暴力递归到动态规划(二).md: -------------------------------------------------------------------------------- 1 | # 19 暴力递归到动态规划(二) 2 | 3 | --- 4 | 5 | ## 题目 6 | 7 | - [[背包能装下最多的价值]] 8 | - [[数字转化为字符串的结果数]] 9 | - 691.[[多少张贴纸可以贴出给定字符串|贴纸拼词]] 10 | - [[最长公共子序列]] 11 | 12 | 13 | -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/100. 算法课程/01. 体系学习班/45 后缀数组解决的面试题.md: -------------------------------------------------------------------------------- 1 | # 后缀数组解决的面试题 2 | 3 | --- 4 | 5 | 题目一: [[字符串插入形成的字典序最大结果]] 6 | 7 | 题目二: [[拼接最大数]] 8 | 9 | 题目三: [[两个字符串的最长公共子串]] 后缀数组解法 10 | 11 | 12 | ## DC3算法中的高度数组 13 | 14 | -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/100. 算法课程/02. 大厂刷题班/大厂刷题班51.md: -------------------------------------------------------------------------------- 1 | # 大厂刷题班51 2 | 3 | --- 4 | 5 | LCP 03. [[机器人大冒险]] [M] 6 | 7 | 630.[[课程表 III]] [H] 8 | 9 | 642.[[设计搜索自动补全系统]] [H] 10 | 11 | 875.[[爱吃香蕉的珂珂]] [M] 12 | 13 | 1035.[[不相交的线]] [M] -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/100. 算法课程/03. 算法营养课/2022年2月第3周.md: -------------------------------------------------------------------------------- 1 | # 2022年2月第3周 2 | 3 | --- 4 | 5 | 787.[[K 站中转内最便宜的航班]] 6 | 7 | 1553.[[吃掉 N 个橘子的最少天数]] 8 | 9 | 1041.[[困于环中的机器人]] 10 | 11 | [[正好等于k个的最多组数]] 12 | 13 | 2029.[[石子游戏 IX]] -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/100. 算法课程/03. 算法营养课/2022年3月第2周.md: -------------------------------------------------------------------------------- 1 | # 2022年3月第2周 2 | 3 | --- 4 | 5 | [[会议室预定]] 6 | [[字符串子串包含]] 7 | [[单词补全]] 8 | [[一致的信号数组]] 9 | [[M 整除数对]] 10 | [[完成任务的最少天数]] 11 | [[接受服务的最早时间]] 12 | [[最近公共祖先-时间O(N)空间O(1)解法]] -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/100. 算法课程/31. 训练营第4期/第2节.md: -------------------------------------------------------------------------------- 1 | - 题目1: [[只做一次交易买卖股票的最大钱数]] 2 | - 题目2: [[多次交易买卖股票的最大钱数]] 3 | - 题目3: [[最多K次交易买卖股票的最大钱数]] 4 | - 题目4: [[给定两个字符串S和T,返回S子序列等于T的不同子序列个数]] 5 | - 题目5: [[骑士能见到公主的最少初始血量]] 6 | - 题目6: [[矩阵往返一次的最大路径和]] -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/100. 算法课程/33. 经典面试题讲解/经典面试题目22.md: -------------------------------------------------------------------------------- 1 | # 经典面试题目(二十二) 2 | 3 | --- 4 | 5 | 第4期第8节: 6 | 7 | - 题目1: [[字符串匹配问题]] 8 | - 题目2: [[自由之路]] 9 | - 题目3: [[打气球的最大分数]] 10 | - 题目4: [[汉诺塔游戏中的最优状态]] 11 | - 题目5: [[合并相邻K个数字的最小代价]] -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/100. 算法课程/33. 经典面试题讲解/经典面试题目29.md: -------------------------------------------------------------------------------- 1 | # 经典面试题目(二十九) 2 | 3 | 4 | --- 5 | 6 | 第5期第5节: 7 | 8 | - 题目1: [[寻找回文串]] 9 | - 题目2: [[无序数组中最长的连续序列的长度]] 10 | - 题目3: [[二叉树节点间最近公共祖先的批量查询问题]] 11 | - 题目4: [[最大的全是1的子矩阵中1的数量]] -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/200. ★算法题目汇总★/★算法面试题汇总/两个最长的01串区间.md: -------------------------------------------------------------------------------- 1 | # 两个最长的01串区间 2 | #百度 3 | 4 | --- 5 | 6 | 给出一个长度为n的01串,现在请你找到两个区间, 7 | 使得这两个区间中,1的个数相等,0的个数也相等 8 | 这两个区间可以相交,但是不可以完全重叠,即两个区间的左右端点不可以完全一样 9 | 现在请你找到两个最长的区间,满足以上要求。 10 | -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/200. ★算法题目汇总★/★算法面试题汇总/字符串的回文子序列.md: -------------------------------------------------------------------------------- 1 | # 字符串的回文子序列 2 | #范围上尝试的模型 3 | 4 | --- 5 | 6 | 给定一个字符串str,当然可以生成很多子序列 7 | 返回有多少个子序列是回文子序列,空序列不算回文 8 | 比如,str = “aba” 9 | 回文子序列:{a}、{a}、 {a,a}、 {b}、{a,b,a} 10 | 返回5 11 | -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/200. ★算法题目汇总★/★算法面试题汇总/找出最大的左部分最大值减去右部分最大值的绝对值.md: -------------------------------------------------------------------------------- 1 | # 找出最大的左部分最大值减去右部分最大值的绝对值 2 | 3 | 4 | --- 5 | 给定一个数组arr长度为N,你可以把任意长度大于0且小于N的前缀作为左部分,剩下的 作为右部分。 6 | 7 | 但是每种划分下都有左部分的最大值和右部分的最大值,请返回最大的, 左部分最大值减去右部分最大值的绝对值。 8 | -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/200. ★算法题目汇总★/★算法面试题汇总/数组直方图装水.md: -------------------------------------------------------------------------------- 1 | # 数组直方图装水 2 | 3 | 4 | 5 | --- 6 | 给定一个数组arr,已知其中所有的值都是非负的,将这个数组看作一个容器, 请返回容器能装多少水 7 | 比如,arr = {3,1,2,5,2,4},根据值画出的直方图就是容器形状,该容 器可以装下5格水 8 | 再比如,arr = {4,5,1,3,2},该容器可以装下2格水 9 | -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/200. ★算法题目汇总★/★算法面试题汇总/最大食物链计数.md: -------------------------------------------------------------------------------- 1 | # # 最大食物链计数 2 | 3 | #理想汽车 4 | 5 | --- 6 | 7 | 8 | a -> b,代表a在食物链中被b捕食 9 | 给定一个有向无环图,返回 10 | 这个图中从最初级动物到最顶级捕食者的食物链有几条 11 | 12 | https://www.luogu.com.cn/problem/P4017 -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/200. ★算法题目汇总★/★算法面试题汇总/最少添加多少字符使字符串变为回文串.md: -------------------------------------------------------------------------------- 1 | # 最少添加多少字符使字符串变为回文串 2 | 3 | --- 4 | 给定一个字符串,如果只能在**后面**添加字符,最少添加几个能让字符串整体都是回文串。 5 | -->Manacher 6 | 7 | #范围上尝试的模型 8 | 给定一个字符串,如果只能在字符串**任意位置**添加字符,最少添加几个能让字符串整体都是回文串。 -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/200. ★算法题目汇总★/★算法面试题汇总/累加和最大的前k个子序列累加和.md: -------------------------------------------------------------------------------- 1 | # 累加和最大的前k个子序列累加和 2 | 3 | #亚马逊 4 | #经典算法原型 5 | 6 | --- 7 | 8 | 9 | 给定一个数组arr,含有n个数字,可能有正、有负、有0 10 | 给定一个正数k 11 | 返回所有子序列中,累加和最大的前k个子序列累加和 12 | 假设K不大,怎么算最快? -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/200. ★算法题目汇总★/★算法面试题汇总/至多包含 K 个不同字符的最长子串.md: -------------------------------------------------------------------------------- 1 | # 至多包含 K 个不同字符的最长子串 2 | 3 | [H] 4 | 5 | 阿里笔试题 6 | 7 | --- 8 | 9 | https://leetcode-cn.com/problems/longest-substring-with-at-most-k-distinct-characters 10 | -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/200. ★算法题目汇总★/★算法面试题汇总/达标子串的最大长度.md: -------------------------------------------------------------------------------- 1 | # 达标子串的最大长度 2 | 3 | #微软 4 | 5 | --- 6 | 给定一个字符串s,其中都是英文小写字母 7 | 如果s中的子串含有的每种字符都是偶数个 8 | 那么这样的子串就是达标子串,子串要求是连续串 9 | 返回s中达标子串的最大长度 10 | 1 <= s的长度 <= 10^5 11 | 字符种类都是英文小写 -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/002. 知识点总结/00. 编程语言相关/_Java 语言速成+进阶.md: -------------------------------------------------------------------------------- 1 | # Java 语言速成+进阶 2 | 3 | --- 4 | [Java 速成 - OI Wiki (oi-wiki.org)](https://oi-wiki.org/lang/java/) 5 | [Java 进阶 - OI Wiki (oi-wiki.org)](https://oi-wiki.org/lang/java-pro/) 6 | 7 | -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/003. 编程基础技巧及工具/只有加减乘除的表达式计算.md: -------------------------------------------------------------------------------- 1 | # 只有加减乘除的表达式计算 2 | #表达式计算 3 | 4 | --- 5 | 6 | 用栈, 遇到的字符只有两种情况: 7 | 1) 数字 8 | 2) +-\*/ 9 | 遇到+-\*/, 意味着之前收集数字结束了 10 | 11 | 栈顶符号是+-, 直接入栈 12 | 栈顶符号是\*/ 计算后入栈 13 | 14 | -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/003. 编程基础技巧及工具/荷兰国旗问题.md: -------------------------------------------------------------------------------- 1 | # 荷兰国旗问题 2 | 3 | #快速排序 4 | 5 | 6 | 7 | --- 8 | 9 | 给定一个数组arr,和一个整数num。请把小于num的数放在数组的左边,等于num的数放在中间,大于num的数放在数组的右边。 10 | 11 | 要求额外空间复杂度O(1),时间复杂度O(N) 12 | 13 | 14 | - [[荷兰国旗问题代码]] -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/100. 算法课程/02. 大厂刷题班/大厂刷题班24.md: -------------------------------------------------------------------------------- 1 | # 大厂刷题班24 2 | 3 | --- 4 | 5 | [[第k小的数值对]] 6 | 7 | [[吉祥里程表]] 8 | 9 | [[数组能不能分成4个相等的部分]] 10 | 11 | [[棋盘染色问题]] 12 | 13 | 76.[[最短包含子串]] [H] 14 | 15 | 316.[[去除重复字母]] [H] -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/100. 算法课程/02. 大厂刷题班/大厂刷题班25.md: -------------------------------------------------------------------------------- 1 | # 大厂刷题班25 2 | 3 | --- 4 | 5 | 126.[[单词接龙 II]] [H] 6 | 7 | 15.[[三数之和]] [M] 8 | 9 | 149.[[直线上最多的点数]] [H] 10 | 11 | 134.[[加油站]] [M] 12 | 13 | 751.[[IP 到 CIDR]] 14 | -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/100. 算法课程/33. 经典面试题讲解/经典面试题目15.md: -------------------------------------------------------------------------------- 1 | # 经典面试题目(十五) 2 | 3 | --- 4 | 5 | 第4期第3节: 6 | - 题目3: [[求二叉树路径累加和为K是最长路径的节点数]] 7 | - 题目4: [[找到数组中只出现1次的数]] 8 | - 题目5: [[数组中出现次数超过一半及超过N除K的数]] 9 | 10 | 补充题: 11 | [[喝咖啡的最好时间]] -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/200. ★算法题目汇总★/★算法面试题汇总/Bob生还的概率.md: -------------------------------------------------------------------------------- 1 | # Bob生还的概率 2 | 3 | --- 4 | 5 | 给定5个参数,N,M,row,col,k 6 | 表示在N\*M的区域上,醉汉Bob初始在(row,col)位置 7 | Bob一共要迈出k步,且每步都会等概率向上下左右四个方向走一个单位 8 | 任何时候Bob只要离开N\*M的区域,就直接死亡 9 | 返回k步之后,Bob还在N\*M的区域的概率 -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/200. ★算法题目汇总★/★算法面试题汇总/zigzag打印矩阵.md: -------------------------------------------------------------------------------- 1 | # zigzag打印矩阵 2 | 3 | #矩阵宏观调度 4 | 5 | --- 6 | 给定一个正方形或者长方形矩阵matrix,实现zigzag打印 7 | ``` 8 | 0 1 2 9 | 3 4 5 10 | 6 7 8 11 | ``` 12 | 打印: 0 1 3 6 4 2 5 7 8 13 | -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/200. ★算法题目汇总★/★算法面试题汇总/一根长度为K的绳子,最多能盖住几个点.md: -------------------------------------------------------------------------------- 1 | # 一根长度为K的绳子,最多能盖住几个点 2 | 3 | #贪心 4 | #单调性 5 | 6 | 7 | --- 8 | 给定一个有序数组arr,从左到右依次表示X轴上从左往右点的位置 9 | 给定一个正整数K,返回如果有一根长度为K的绳子,最多能盖住几个点 10 | 绳子的边缘点碰到X轴上的点,也算盖住 11 | -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/200. ★算法题目汇总★/★算法面试题汇总/不同的二叉搜索树.md: -------------------------------------------------------------------------------- 1 | # 不同的二叉搜索树 2 | 3 | 4 | 96.不同的二叉搜索树 5 | 6 | [M] 7 | 8 | --- 9 | 10 | ref: [[N个无差别节点有多少种组成二叉数的方式]] 11 | 12 | https://leetcode-cn.com/problems/unique-binary-search-trees/ -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/200. ★算法题目汇总★/★算法面试题汇总/两个有序数组中最大的k个数.md: -------------------------------------------------------------------------------- 1 | # 两个有序数组中最大的k个数 2 | 3 | 4 | 5 | 6 | --- 7 | 给定两个整数数组A和B 8 | A是长度为m、元素从小到大排好序了 9 | B是长度为n、元素从小到大排好序了 10 | 希望从A和B数组中,找出最大的k个数字 11 | 12 | Ref: [[两个等长有序数组求上中位数]] -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/200. ★算法题目汇总★/★算法面试题汇总/大于等于x的区间查询.md: -------------------------------------------------------------------------------- 1 | # 大于等于x的区间查询 2 | 3 | --- 4 | 5 | 给你一个长度为n的数组,并询问q次 6 | 每次询问区间[l,r]之间是否存在小于等于k个数的和大于等于x 7 | 每条查询返回true或者false 8 | 1 <= n, q <= 10^5 9 | k <= 10 10 | 1 <= x <= 10^8 -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/200. ★算法题目汇总★/★算法面试题汇总/数组中得到最多异或和为0的子数组划分问题.md: -------------------------------------------------------------------------------- 1 | # 数组中得到最多异或和为0的子数组划分问题 2 | 3 | #网易 4 | 5 | --- 6 | 数组中所有数都异或起来的结果,叫做异或和 7 | 给定一个数组arr,可以任意切分成若干个不相交的子数组 8 | 其中一定存在一种最优方案,使得切出异或和为0的子数组最多 9 | 返回这个最多数量 10 | 11 | -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/200. ★算法题目汇总★/★算法面试题汇总/盛最多水的容器.md: -------------------------------------------------------------------------------- 1 | # 盛最多水的容器 2 | [M] 3 | 4 | --- 5 | https://leetcode-cn.com/problems/container-with-most-water/ 6 | 7 | ![[双向双指针#[11. 盛最多水的容器](https //leetcode.cn/problems/container-with-most-water/)]] -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/200. ★算法题目汇总★/★算法面试题汇总/连接最多点的曲线最多穿过的点数.md: -------------------------------------------------------------------------------- 1 | # 连接最多点的曲线最多穿过的点数 2 | 3 | #最长递增子序列 4 | 5 | --- 6 | 7 | 8 | --- 9 | 10 | 给定一些点, 每个点有x,y两个方向的值, 想找到一条曲线, 这条曲线能严格的往右上方窜 11 | 不能够往下也不能够往左走, 只能往右走或者网上走, 怎么找到这么一条曲线穿过的点最多 -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/200. ★算法题目汇总★/★算法面试题汇总/魔法操作后的数组最大和.md: -------------------------------------------------------------------------------- 1 | # 魔法操作后的数组最大和 2 | 3 | #美团 4 | 5 | --- 6 | 小美有一个长度为n的数组, 7 | 为了使得这个数组的和尽量大,她向会魔法的小团进行求助 8 | 小团可以选择数组中至多两个不相交的子数组, 9 | 并将区间里的数全都变为原来的10倍 10 | 小团想知道他的魔法最多可以帮助小美将数组的和变大到多少? -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/002. 知识点总结/10. 数学基础/奇偶性结论.md: -------------------------------------------------------------------------------- 1 | # 奇偶性结论 2 | 3 | --- 4 | 5 | 就是说 偶数-偶数 = 偶数, `2*k1 - 2*k2 = 2*k3` 6 | 7 | 奇数-奇数 = 偶数,`2*k1 - 1 - (2*k2 - 1) = 2*k3` 8 | 9 | 只有奇数-偶数或者偶数-奇数这种才会得到奇数 10 | 11 | ref: 1915.[[最美子字符串的数目]] -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/002. 知识点总结/20. 算法知识点/离线和在线算法.md: -------------------------------------------------------------------------------- 1 | # 离线和在线算法 2 | 3 | --- 4 | 在计算机科学中,一个**在线算法**是指它可以以序列化的方式一个个的处理输入,也就是说在开始时并不需要已经知道所有的输入。 5 | 6 | 相对的,对于一个**离线算法**,在开始时就需要知道问题的所有输入数据,而且在解决一个问题后就要立即输出结果。 7 | 例如,选择排序在排序前就需要知道所有待排序元素,然而插入排序就不必。 -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/100. 算法课程/01. 体系学习班/02 异或运算和几个经典题目解析.md: -------------------------------------------------------------------------------- 1 | # 异或运算和几个经典题目解析 2 | 3 | --- 4 | 5 | 题目1: [[如何不用额外变量交换两个数]] 6 | 题目2: [[一个数组中出现了奇数次的数]] 7 | 题目3: [[提取整形数最右侧的1]] 8 | 题目4: [[一个数组中出现奇数次的两个数]] 9 | 题目5: [[一个数组中有一种数出现K次,其他数都出现了M次]] -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/100. 算法课程/02. 大厂刷题班/大厂刷题班12.md: -------------------------------------------------------------------------------- 1 | # 大厂刷题班12 2 | 3 | --- 4 | 5 | 567.[[字符串str中是否有某个子串是可以由字符串aim构成|字符串的排列]] [M] 6 | 7 | [[在两个都有序的数组中找整体第K小的数]] 8 | 9 | 128.[[最长连续序列]] [H] 10 | 11 | 10.[[正则表达式匹配]] [H] 12 | 13 | -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/100. 算法课程/03. 算法营养课/2022年1月第2周.md: -------------------------------------------------------------------------------- 1 | # 2022年1月第2周 2 | 3 | --- 4 | 5 | [[多线程统计单词数量]] 6 | 7 | [[所有砖块最多摆几层]] 8 | 9 | [[二进制和16进制的字符串]] 10 | 11 | 2111.[[使数组K递增的最少操作次数]] 12 | 13 | [[魔法操作后的数组最大和]] 14 | 15 | [[插班生和安静值]] -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/100. 算法课程/03. 算法营养课/2022年2月第2周.md: -------------------------------------------------------------------------------- 1 | # 2022年2月第2周 2 | 3 | --- 4 | 5 | 6 | 679.[[24 点游戏]] [H] 7 | 8 | 2166.[[设计位集]] 9 | 10 | 719.[[找出第 k 小的距离对]] [H] 11 | 12 | 780.[[到达终点]] 13 | 14 | 2122.[[还原原数组]] 15 | 16 | 17 | -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/100. 算法课程/03. 算法营养课/2022年3月第3周.md: -------------------------------------------------------------------------------- 1 | # 2022年3月第3周 2 | 3 | --- 4 | 5 | [[差值大于1的子序列]] 6 | 7 | [[切豆腐]] 8 | 9 | [[翻转后的最大子数组和]] 10 | 11 | [[重排数组后查询的最大累加和]] 12 | 13 | [[大鱼吃小鱼]] 14 | 15 | [[理财产品]] 16 | 17 | [[合作开发]] -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/100. 算法课程/33. 经典面试题讲解/经典面试题目7.md: -------------------------------------------------------------------------------- 1 | # 经典面试题目(7) 2 | 3 | --- 4 | 5 | 第3期第5节: 6 | - 题目1: [[问字符串s2最少删除多少字符可以成为s1的子串]] 7 | 8 | - 题目4: [[LRU内存替换算法的实现]] 9 | - 题目5: [[两个字符串的最短的变换路径]] 10 | 11 | 12 | - 题目6: [[主播们能获得的最大收益]] -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/100. 算法课程/41. LeetCodeTop100Like/leetcode高频题目全讲(26).md: -------------------------------------------------------------------------------- 1 | # 1017(下午) 2 | 3 | 4 | --- 5 | 6 | 32.[[最长有效括号]] [困难] 7 | https://leetcode-cn.com/problems/longest-valid-parentheses/ 8 | 9 | - [[只出现两次的数]] 10 | 11 | -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/200. ★算法题目汇总★/★算法面试题汇总/三种数字的个数都相等的最小变化次数.md: -------------------------------------------------------------------------------- 1 | # 三种数字的个数都相等的最小变化次数 2 | 3 | #京东 4 | 5 | --- 6 | 7 | 8 | 4.2笔试 9 | 给定一个长度为3N的数组,其中最多含有0、1、2三种值 10 | 你可以把任何一个连续区间上的数组,全变成0、1、2中的一种 11 | 目的是让0、1、2三种数字的个数都是N 12 | 返回最小的变化次数 -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/200. ★算法题目汇总★/★算法面试题汇总/使用单词表拼接长字符串的方法数.md: -------------------------------------------------------------------------------- 1 | # 使用单词表拼接长字符串的方法数 2 | 3 | #从左往右的尝试模型 #前缀树 #Trie 4 | 5 | 6 | --- 7 | 假设所有字符都是小写字母. 长字符串是str 8 | arr是去重的单词表, 每个单词都不是空字符串且可以使用任意次 9 | 使用arr中的单词有多少种拼接str的方式,返回方法数. 10 | -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/200. ★算法题目汇总★/★算法面试题汇总/大炮打导弹.md: -------------------------------------------------------------------------------- 1 | # 大炮打导弹 2 | 3 | 4 | --- 5 | 6 | 给定一个数组arr,表示从早到晚,依次会出现的导弹的高度 7 | 大炮打导弹的时候,如果一旦大炮定了某个高度去打,那么这个大炮每次打的高度都必须下降一点 8 | 1) 如果只有一个大炮,返回最多能拦截多少导弹 9 | 2) 如果所有的导弹都必须拦截,返回最少的大炮数量 10 | 11 | -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/200. ★算法题目汇总★/★算法面试题汇总/指定范围上涂色的房子有多少种.md: -------------------------------------------------------------------------------- 1 | # 指定范围上涂色的房子有多少种 2 | 3 | 4 | #线段树 5 | 6 | 7 | --- 8 | 9 | 10 | 有1~N这么多房子, 有17种颜色, 实现如下操作: 11 | 1) L..R这些房子统一刷成某一个颜色 12 | 可以随意调用1) 的方法, 返回 L..R范围上,不同的颜色有多少种? 13 | 14 | -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/200. ★算法题目汇总★/★算法面试题汇总/按要求调整多叉树.md: -------------------------------------------------------------------------------- 1 | 2 | # 按要求调整多叉树 3 | 4 | #二叉树的递归套路 5 | 6 | --- 7 | 8 | 9 | 10 | 给定一棵多叉树的头节点head, 11 | 12 | 根据图理解题意 13 | 14 | 返回处理后的树的头节点 15 | 16 | ![[Pasted image 20211216204657.png|400]] -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/200. ★算法题目汇总★/★算法面试题汇总/接受服务的最早时间.md: -------------------------------------------------------------------------------- 1 | # 接受服务的最早时间 2 | #谷歌 3 | #小根堆 4 | #二分 5 | 6 | --- 7 | 给定一个数组arr,长度为n 8 | 表示n个服务员,每个人服务一个人的时间 9 | 给定一个正数m,表示有m个人等位 10 | 如果你是刚来的人,请问你需要等多久? 11 | 假设:m远远大于n,比如n<=1000, m <= 10^9,该怎么做? -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/200. ★算法题目汇总★/★算法面试题汇总/最大的全是1的子矩阵中1的数量.md: -------------------------------------------------------------------------------- 1 | # 最大的全是1的子矩阵中1的数量 2 | # 全是1的最大子矩阵面积 3 | 4 | #单调栈 5 | 6 | 高频常考, 一定要记住 7 | 8 | --- 9 | 10 | 给定一个二维数组matrix,其中的值不是0就是1, 11 | 其中, 12 | 内部全是1的所有子矩阵中,含有最多1的子矩阵中,含有几个1? 13 | -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/200. ★算法题目汇总★/★算法面试题汇总/求二叉树路径累加和为K是最长路径的节点数.md: -------------------------------------------------------------------------------- 1 | 2 | # 求二叉树路径累加和为K是最长路径的节点数 3 | 4 | 5 | 6 | --- 7 | 给定一棵二叉树的头节点head,和一个数K 8 | 路径的定义: 9 | 可以从任何一个点开始,但是只能往下走,往下可以走到任何节点停止 10 | 返回路径累加和为K的所有路径中,最长的路径最多有几个节点? 11 | -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/200. ★算法题目汇总★/算法群面试题/1215-1373.二叉搜索子树的最大键值和.md: -------------------------------------------------------------------------------- 1 | 2 | # 1215-1373.二叉搜索子树的最大键值和 3 | 4 | 5 | --- 6 | 7 | 1373. [[二叉搜索子树的最大键值和]] [H] 8 | https://leetcode-cn.com/problems/maximum-sum-bst-in-binary-tree/ 9 | 10 | 11 | -------------------------------------------------------------------------------- /.obsidian/plugins/obsidian-Latex2MathJax/styles.css: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | This CSS file will be included with your plugin, and 4 | available in the app when your plugin is enabled. 5 | 6 | If your plugin does not need CSS, delete this file. 7 | 8 | */ 9 | -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/001. 难点重点照顾/_图论知识点.md: -------------------------------------------------------------------------------- 1 | # 图论知识点 2 | 3 | --- 4 | 5 | - [[图的统一表述结构]] 6 | - 图的[[深度优先遍历]] 7 | - 图的[[宽度优先遍历]] 8 | - [[图的拓扑排序算法]] 9 | - [[最小生成树算法之Kruskal]] 10 | - [[最小生成树算法之Prim]] 11 | - [[Dijkstra算法]] 12 | - [[TSP问题]] 13 | -------------------------------------------------------------------------------- /算法笔记/zuoAlgorithm/002. 知识点总结/10. 数学基础/二元一次方程求根公式.md: -------------------------------------------------------------------------------- 1 | # 二元一次方程求根公式 2 | 3 | --- 4 | 5 | 6 | 设一个二元一次方程为:ax^2+bx+c=0,其中a不为0,因为要满足此方程为二元一次方程所以a不能等于0. 7 | 8 | 求根公式为: 9 | 10 | 11 | $\Large x = \frac{-b \pm \sqrt{b^2-4ac} }{2a}$ 12 | 13 | --------------------------------------------------------------------------------