2019.5.12更新至题号796,目前共有265题。

2019.5.26更新至题号72, 目前共有347题。

2019.6.16更新至题号70,目前共有382题。

2019.7.7更新至题号5120,目前共有442题。

2019.8.5更新至题号1147,目前共有502题。

2019.9.6更新至题号288, 目前共有551题。

2019.11.13更新至题号426,目前共有602题。

2020.3.30更新至题号1396,目前共有703题。

====================================================

请不要直接点击下图链接,这样会跳转到一个CSDN付费下载网页。

正确打开方式为复制链接到浏览器地址栏,再跳转到Github。

====================================================

Github仓库地址:https://github.com/JiayangWu/LeetCode-Python

LeetCode-Python/Java-1. 两数之和1两数之和
LeetCode-Python-2. 两数相加2两数相加
LeetCode-Python-3. 无重复字符的最长子串3无重复字符的最长子串
LeetCode-Python-4. 寻找两个有序数组的中位数4寻找两个有序数组的中位数
LeetCode-Python-5. 最长回文子串5最长回文子串
LeetCode-Python-6. Z 字形变换6Z 字形变换
LeetCode-Python-7. 整数反转7整数反转
LeetCode-Python-8. 字符串转换整数 (atoi)8字符串转换整数 (atoi)
LeetCode-Python-9. 回文数9回文数
LeetCode-Python-10. 正则表达式匹配10正则表达式匹配
LeetCode-Python-11. 盛最多水的容器11盛最多水的容器
LeetCode-Python-12. 整数转罗马数字12整数转罗马数字
LeetCode-Python-13. 罗马数字转整数13罗马数字转整数
LeetCode-Python-14. 最长公共前缀14最长公共前缀
LeetCode-Python-15. 三数之和15三数之和
LeetCode-Python-16. 最接近的三数之和16最接近的三数之和
LeetCode-Python-17. 电话号码的字母组合17电话号码的字母组合
LeetCode-Python-18. 四数之和18四数之和
LeetCode-Python-19. 删除链表的倒数第N个节点19删除链表的倒数第N个节点
LeetCode-Python-20. 有效的括号20有效的括号
LeetCode-Python-21. 合并两个有序链表21合并两个有序链表
LeetCode-Python-22. 括号生成22括号生成
LeetCode-Python-23. 合并K个排序链表23合并K个排序链表
LeetCode-Python-24. 两两交换链表中的节点24两两交换链表中的节点
LeetCode-Python-25. K 个一组翻转链表25K 个一组翻转链表
LeetCode-Python-26. 删除排序数组中的重复项26删除排序数组中的重复项
LeetCode-Python-27. 移除元素27移除元素
LeetCode-Python-28. 实现strStr()28实现strStr()
LeetCode-Python-29. 两数相除29两数相除
LeetCode-Python-31. 下一个排列31下一个排列
LeetCode-Python-32. 最长有效括号32最长有效括号
LeetCode-Python-33. 搜索旋转排序数组33搜索旋转排序数组
LeetCode-Python-34. 在排序数组中查找元素的第一个和最后一个位置34在排序数组中查找元素的第一个和最后一个位置
LeetCode-Python-35. 搜索插入位置35搜索插入位置
LeetCode-Python-36. 有效的数独36有效的数独
LeetCode-Python-37. 解数独37解数独
LeetCode-Python-38. 报数38报数
LeetCode-Python-39. 组合总和39组合总和
LeetCode-Python-40. 组合总和 II40组合总和 II
LeetCode-Python-41. 缺失的第一个正数41缺失的第一个正数
LeetCode-Python-42. 接雨水42接雨水
LeetCode-Python-43. 字符串相乘43字符串相乘
LeetCode-Python-46. 全排列46全排列
LeetCode-Python-47. 全排列 II47全排列 II
LeetCode-Python-48. 旋转图像48旋转图像
LeetCode-Python-49. 字母异位词分组49字母异位词分组
LeetCode-Python-50. Pow(x, n)50Pow(x, n)
LeetCode-Python-51. N皇后51N皇后
LeetCode-Python-52. N皇后 II52N皇后 II
LeetCode-Python-53. 最大子序和53最大子序和
LeetCode-Python-54. 螺旋矩阵54螺旋矩阵
LeetCode-Python-56. 合并区间56合并区间
LeetCode-Python-57. 插入区间57插入区间
LeetCode-Python-58. 最后一个单词的长度58最后一个单词的长度
LeetCode-Python-59. 螺旋矩阵 II59螺旋矩阵 II
LeetCode-Python-60. 第k个排列60第k个排列
LeetCode-Python-61. 旋转链表61旋转链表
LeetCode-Python-62. 不同路径62不同路径
LeetCode-Python-63. 不同路径 II63不同路径 II
LeetCode-Python-64. 最小路径和64最小路径和
LeetCode-Python-66. 加一66加一
LeetCode-Python-67. 二进制求和67二进制求和
LeetCode-Python-69. x 的平方根69x 的平方根
LeetCode-Python-70. 爬楼梯70爬楼梯
LeetCode-Python-71. 简化路径71简化路径
LeetCode-Python-72. 编辑距离72编辑距离
LeetCode-Python-73. 矩阵置零73矩阵置零
LeetCode-Python-74. 搜索二维矩阵74搜索二维矩阵
LeetCode-Python-75. 颜色分类75颜色分类
LeetCode-Python-77. 组合77组合
LeetCode-Python-78. 子集78子集
LeetCode-Python-79. 单词搜索79单词搜索
LeetCode-Python-80. 删除排序数组中的重复项 II80删除排序数组中的重复项 II
LeetCode-Python-81. 搜索旋转排序数组 II81搜索旋转排序数组 II
LeetCode-Python-82. 删除排序链表中的重复元素 II82删除排序链表中的重复元素 II
LeetCode-Python-83. 删除排序链表中的重复元素83删除排序链表中的重复元素
LeetCode-Python-84. 柱状图中最大的矩形84柱状图中最大的矩形
LeetCode-Python-88. 合并两个有序数组88合并两个有序数组
LeetCode-Python-89. 格雷编码89格雷编码
LeetCode-Python-90. 子集 II90子集 II
LeetCode-Python-92. 反转链表 II92反转链表 II
LeetCode-Python-94. 二叉树的中序遍历94二叉树的中序遍历
LeetCode-Python-96. 不同的二叉搜索树96不同的二叉搜索树
LeetCode-Python-98. 验证二叉搜索树98验证二叉搜索树
LeetCode-Python-99. 恢复二叉搜索树99恢复二叉搜索树
LeetCode-Python-100. 相同的树100相同的树
LeetCode-Python-101. 对称二叉树101对称二叉树
LeetCode-Python-102. 二叉树的层次遍历102二叉树的层次遍历
LeetCode-Python-103. 二叉树的锯齿形层次遍历103二叉树的锯齿形层次遍历
LeetCode-Python-105. 从前序与中序遍历序列构造二叉树105从前序与中序遍历序列构造二叉树
LeetCode-Python-106. 从中序与后序遍历序列构造二叉树106从中序与后序遍历序列构造二叉树
LeetCode-Python-107. 二叉树的层次遍历 II107二叉树的层次遍历 II
LeetCode-Python-108. 将有序数组转换为二叉搜索树108将有序数组转换为二叉搜索树
LeetCode-Python-109. 有序链表转换二叉搜索树109有序链表转换二叉搜索树
LeetCode-Python-110. 平衡二叉树110平衡二叉树
LeetCode-Python-111. 二叉树的最小深度111二叉树的最小深度
LeetCode-Python-112. 路径总和112路径总和
LeetCode-Python-113. 路径总和 II113路径总和 II
LeetCode-Python-114. 二叉树展开为链表114二叉树展开为链表
LeetCode-Python-116. 填充每个节点的下一个右侧节点指针116填充每个节点的下一个右侧节点指针
LeetCode-Python-117. 填充每个节点的下一个右侧节点指针 II117填充每个节点的下一个右侧节点指针 II
LeetCode-Python-119. 杨辉三角 II119杨辉三角 II
LeetCode-Python-120. 三角形最小路径和120三角形最小路径和
LeetCode-Python-121. 买卖股票的最佳时机121买卖股票的最佳时机
LeetCode-Python-122. 买卖股票的最佳时机 II122买卖股票的最佳时机 II
LeetCode-Python-123. 买卖股票的最佳时机 III123买卖股票的最佳时机 III
LeetCode-Python-125. 验证回文串125验证回文串
LeetCode-Python-127. 单词接龙127单词接龙
LeetCode-Python-128. 最长连续序列128最长连续序列
LeetCode-Python-129. 求根到叶子节点数字之和129求根到叶子节点数字之和
LeetCode-Python-130. 被围绕的区域130被围绕的区域
LeetCode-Python-131. 分割回文串131分割回文串
LeetCode-Python-132. 分割回文串 II132分割回文串 II
LeetCode-Python-133. 克隆图133克隆图
LeetCode-Python-134. 加油站134加油站
LeetCode-Python-136. 只出现一次的数字136只出现一次的数字
LeetCode-Python-137. 只出现一次的数字 II137只出现一次的数字 II
LeetCode-Python-138. 复制带随机指针的链表138复制带随机指针的链表
LeetCode-Python-139. 单词拆分139单词拆分
LeetCode-Python-141. 环形链表141环形链表
LeetCode-Python-142. 环形链表 II142环形链表 II
LeetCode-Python-143. 重排链表143重排链表
LeetCode-Python-144. 二叉树的前序遍历144二叉树的前序遍历
LeetCode-Python-145. 二叉树的后序遍历145二叉树的后序遍历
LeetCode-Python-146. LRU缓存机制146LRU缓存机制
LeetCode-Python-147. 对链表进行插入排序147对链表进行插入排序
LeetCode-Python-148. 排序链表148排序链表
LeetCode-Python-150. 逆波兰表达式求值150逆波兰表达式求值
LeetCode-Python-151. 翻转字符串里的单词151翻转字符串里的单词
LeetCode-Python-152. 乘积最大子序列152乘积最大子序列
LeetCode-Python-153. 寻找旋转排序数组中的最小值153寻找旋转排序数组中的最小值
LeetCode-Python-154. 寻找旋转排序数组中的最小值 II154寻找旋转排序数组中的最小值 II
LeetCode-Python-155. 最小栈155最小栈
LeetCode-Python-156. 上下翻转二叉树156上下翻转二叉树
LeetCode-Python-157. 用 Read4 读取 N 个字符157用 Read4 读取 N 个字符
LeetCode-Python-159. 至多包含两个不同字符的最长子串159至多包含两个不同字符的最长子串
LeetCode-Python-160. 相交链表160相交链表
LeetCode-Python-161. 相隔为 1 的编辑距离161相隔为 1 的编辑距离
LeetCode-Python-162. 寻找峰值162寻找峰值
LeetCode-Python-163. 缺失的区间163缺失的区间
LeetCode-Python-164. 最大间距164最大间距
LeetCode-Python-165. 比较版本号165比较版本号
LeetCode-Python-167. 两数之和 II - 输入有序数组167两数之和 II - 输入有序数组
LeetCode-Python-168. Excel表列名称168Excel表列名称
LeetCode-Python-169. 求众数169求众数
LeetCode-Python-170. 两数之和 III - 数据结构设计170两数之和 III - 数据结构设计
LeetCode-Python-171. Excel表列序号171Excel表列序号
LeetCode-Python-172. 阶乘后的零172阶乘后的零
LeetCode-Python-173. 二叉搜索树迭代器173二叉搜索树迭代器
转 LeetCode-MySQL-175. 组合两个表175组合两个表
LeetCode-Python-179. 最大数179最大数
LeetCode-MySQL-181. 超过经理收入的员工181超过经理收入的员工
LeetCode-MySQL-182. 查找重复的电子邮箱182查找重复的电子邮箱
LeetCode-MySQL-183. 从不订购的客户183从不订购的客户
LeetCode-Python-186. 翻转字符串里的单词 II186翻转字符串里的单词 II
LeetCode-Python-187. 重复的DNA序列187重复的DNA序列
LeetCode-Python-188. 买卖股票的最佳时机 IV188买卖股票的最佳时机 IV
LeetCode-Python-189. 旋转数组189旋转数组
LeetCode-Python-190. 颠倒二进制位190颠倒二进制位
191位1的个数
LeetCode-MySQL-197. 上升的温度197上升的温度
LeetCode-Python-198. 打家劫舍198打家劫舍
LeetCode-Python-199. 二叉树的右视图199二叉树的右视图
LeetCode-Python-200. 岛屿的个数200岛屿的个数
LeetCode-Python-201. 数字范围按位与201数字范围按位与
LeetCode-Python-202. 快乐数202快乐数
LeetCode-Python-203. 移除链表元素203移除链表元素
LeetCode-Python-204. 计数质数204计数质数
LeetCode-Python-205. 同构字符串205同构字符串
LeetCode-Python-206. 反转链表206反转链表
LeetCode-Python-207. 课程表207课程表
LeetCode-Python-208. 实现 Trie (前缀树)208实现 Trie (前缀树)
LeetCode-Python-209. 长度最小的子数组209长度最小的子数组
LeetCode-Python-210. 课程表 II210课程表 II
LeetCode-Python-211. 添加与搜索单词 - 数据结构设计211添加与搜索单词 - 数据结构设计
LeetCode-Python-212. 单词搜索 II212单词搜索 II
LeetCode-Python-213. 打家劫舍 II213打家劫舍 II
LeetCode-Python-214. 最短回文串214最短回文串
LeetCode-Python-215. 数组中的第K个最大元素215数组中的第K个最大元素
LeetCode-Python-216. 组合总和 III216组合总和 III
LeetCode-Python-217. 存在重复元素217存在重复元素
LeetCode-Python-219. 存在重复元素 II219存在重复元素 II
LeetCode-Python-220. 存在重复元素 III220存在重复元素 III
LeetCode-Python-221. 最大正方形221最大正方形
LeetCode-Python-222. 完全二叉树的节点个数222完全二叉树的节点个数
LeetCode-Python-223. 矩形面积223矩形面积
LeetCode-Python-224. 基本计算器224基本计算器
LeetCode-Python-225. 用队列实现栈225用队列实现栈
LeetCode-Python-226. 翻转二叉树226翻转二叉树
LeetCode-Python-227. 基本计算器 II227基本计算器 II
LeetCode-Python-228. 汇总区间228汇总区间
LeetCode-Python-230. 二叉搜索树中第K小的元素230二叉搜索树中第K小的元素
LeetCode-Python-231. 2的幂2312的幂
LeetCode-Python-232. 用栈实现队列232用栈实现队列
LeetCode-Python-235. 二叉搜索树的最近公共祖先235二叉搜索树的最近公共祖先
LeetCode-Python-236. 二叉树的最近公共祖先236二叉树的最近公共祖先
LeetCode-Python-237. 删除链表中的节点237删除链表中的节点
LeetCode-Python-238. 除自身以外数组的乘积238除自身以外数组的乘积
LeetCode-Python-239. 滑动窗口最大值239滑动窗口最大值
LeetCode-Python-240. 搜索二维矩阵 II240搜索二维矩阵 II
LeetCode-Python-241. 为运算表达式设计优先级241为运算表达式设计优先级
LeetCode-Python-242. 有效的字母异位词242有效的字母异位词
LeetCode-Python-243. 最短单词距离243最短单词距离
LeetCode-Python-244. 最短单词距离 II244最短单词距离 II
LeetCode-Python-245. 最短单词距离 III245最短单词距离 III
LeetCode-Python-246. 中心对称数246中心对称数
LeetCode-Python-247. 中心对称数 II247中心对称数 II
LeetCode-Python-248. 中心对称数 III248中心对称数 III
LeetCode-Python-249. 移位字符串分组249移位字符串分组
LeetCode-Python-250. 统计同值子树250统计同值子树
LeetCode-Python-251. 展开二维向量251展开二维向量
LeetCode-Python-252. 会议室252会议室
LeetCode-Python-253. 会议室 II253会议室 II
LeetCode-Python-254. 因子的组合254因子的组合
LeetCode-Python-255. 验证前序遍历序列二叉搜索树255验证前序遍历序列二叉搜索树
LeetCode-Python-256. 粉刷房子256粉刷房子
LeetCode-Python-257. 二叉树的所有路径257二叉树的所有路径
LeetCode-Python-259. 较小的三数之和259较小的三数之和
LeetCode-Python-260. 只出现一次的数字 III260只出现一次的数字 III
LeetCode-Python-261. 以图判树261以图判树
LeetCode-Python/Java-263. 丑数263丑数
LeetCode-Python-264. 丑数 II264丑数 II
LeetCode-Python-265. 粉刷房子 II265粉刷房子 II
LeetCode-Python-266. 回文排列266回文排列
LeetCode-Python-267. 回文排列 II267回文排列 II
LeetCode-Python-268. 缺失数字268缺失数字
LeetCode-Python-270. 最接近的二叉搜索树值270最接近的二叉搜索树值
LeetCode-Python-272. 最接近的二叉搜索树值 II272最接近的二叉搜索树值 II
LeetCode-Python-273. 整数转换英文表示273整数转换英文表示
LeetCode-Python-274. H指数274H指数
LeetCode-Python-275. H指数 II275H指数 II
LeetCode-Python-276. 栅栏涂色276栅栏涂色
LeetCode-Python-277. 搜寻名人277搜寻名人
LeetCode-Python-278. 第一个错误的版本278第一个错误的版本
LeetCode-Python-279. 完全平方数279完全平方数
LeetCode-Python-280. 摆动排序280摆动排序
LeetCode-Python-281. 锯齿迭代器281锯齿迭代器
LeetCode-Python-283. 移动零283移动零
LeetCode-Python-284. 顶端迭代器284顶端迭代器
LeetCode-Python-285. 二叉搜索树中的顺序后继285二叉搜索树中的顺序后继
LeetCode-Python-286. 墙与门286墙与门
LeetCode-Python-286. 墙与门286墙与门
LeetCode-Python-287. 寻找重复数287寻找重复数
LeetCode-Python-288. 单词的唯一缩写288单词的唯一缩写
LeetCode-Python-288. 单词的唯一缩写288单词的唯一缩写
LeetCode-Python-289. 生命游戏289生命游戏
LeetCode-Python-290. 单词模式290单词模式
LeetCode-Python-293. 翻转游戏293翻转游戏
LeetCode-Python-294. 翻转游戏 II294翻转游戏
LeetCode-Python-295. 数据流的中位数295数据流的中位数
296最佳的碰头地点
LeetCode-Python-298. 二叉树最长连续序列298二叉树最长连续序列
299猜数字游戏
LeetCode-Python-300. 最长上升子序列300最长上升子序列
LeetCode-Python-302. 包含全部黑色像素的最小矩形302包含全部黑色像素的最小矩形
LeetCode-Python-303. 区域和检索 - 数组不可变303区域和检索 - 数组不可变
LeetCode-Python-309. 最佳买卖股票时机含冷冻期309最佳买卖股票时机含冷冻期
315计算右侧小于当前元素的个数
LeetCode-Python-318. 最大单词长度乘积318最大单词长度乘积
LeetCode-Python-322. 零钱兑换322零钱兑换
LeetCode-Python-323. 无向图中连通分量的数目323无向图中连通分量的数目
LeetCode-Python/Java-338. 比特位计数338比特位计数
LeetCode-Python-339. 嵌套列表权重和339嵌套列表权重和
LeetCode-Python-341. 扁平化嵌套列表迭代器341扁平化嵌套列表迭代器
LeetCode-Python-345. 反转字符串中的元音字母345反转字符串中的元音字母
LeetCode-Python-346. 数据流中的移动平均值346数据流中的移动平均值
LeetCode-Python-347. 前K个高频元素347前K个高频元素
LeetCode-Python-348. 判定井字棋胜负348判定井字棋胜负
LeetCode-Python-349. 两个数组的交集349两个数组的交集
LeetCode-Python-359. 日志速率限制器359日志速率限制器
LeetCode-Python-361. 轰炸敌人361轰炸敌人
LeetCode-Python-362. 敲击计数器362敲击计数器
LeetCode-Python-364. 加权嵌套序列和 II364加权嵌套序列和 II
LeetCode-Python- 366. 寻找完全二叉树的叶子节点366寻找完全二叉树的叶子节点
LeetCode-Python-367. 有效的完全平方数367有效的完全平方数
LeetCode-Python-369. 给单链表加一369给单链表加一
LeetCode-Python-370. 区间加法370区间加法
LeetCode-Python-371. 两整数之和371两整数之和
LeetCode-Python-374. 猜数字大小374猜数字大小
LeetCode-Python-376. 摆动序列376摆动序列
LeetCode-Python-377. 组合总和 Ⅳ377组合总和 Ⅳ
LeetCode-Python-379. 电话目录379电话目录
LeetCode-Python-383. 赎金信383赎金信
386字典序排数
387字符串中的第一个唯一字符
LeetCode-Python-389. 找不同389找不同
LeetCode-Python-392. 判断子序列(字符串 + 双指针)392判断子序列
LeetCode-Python-399. 除法求值399除法求值
LeetCode-Python-404. 左叶子之和404左叶子之和
LeetCode-Python-409. 最长回文串409最长回文串
LeetCode-Python-410. 分割数组的最大值410分割数组的最大值
LeetCode-Python/Java-413. 等差数列划分413等差数列划分
LeetCode-Python-414. 第三大的数414第三大的数
LeetCode-Python-415. 字符串相加415字符串相加
LeetCode-Python-417. 太平洋大西洋水流问题417太平洋大西洋水流问题
LeetCode-Python-419. 甲板上的战舰419甲板上的战舰
LeetCode-Python-421. 数组中两个数的最大异或值421数组中两个数的最大异或值
LeetCode-Python-423. 从英文中重建数字423从英文中重建数字
LeetCode-Python-429. N叉树的层序遍历429N叉树的层序遍历
430扁平化多级双向链表
LeetCode-Python-433. 最小基因变化433最小基因变化
LeetCode-Python-436. 寻找右区间 (数组 + 哈希表 + 二分查找)436寻找右区间
LeetCode-Python-438. 找到字符串中所有字母异位词438找到字符串中所有字母异位词
LeetCode-Python-439. 三元表达式解析器439三元表达式解析器
LeetCode-Python-441. 排列硬币441排列硬币
LeetCode-Python-442. 数组中重复的数据442数组中重复的数据
LeetCode-Python-445. 两数相加 II445两数相加 II
LeetCode-Python-448. 找到所有数组中消失的数字448找到所有数组中消失的数字
LeetCode-Python-451. 根据字符出现频率排序451根据字符出现频率排序
452用最少数量的箭引爆气球
LeetCode-Python-454. 四数相加 II454四数相加 II
LeetCode-Python-455. 分发饼干455分发饼干
LeetCode-Python-463. 岛屿的周长463岛屿的周长
LeetCode-Python-470. 用 Rand7() 实现 Rand10()470用 Rand7() 实现 Rand10()
LeetCode-Python-476. 数字的补数476数字的补数
LeetCode-Python-477. 汉明距离总和 (位运算)477汉明距离总和
482密钥格式化
LeetCode-Python-485. 最大连续1的个数485最大连续1的个数
LeetCode-Python-487. 最大连续1的个数 II487最大连续1的个数 II
LeetCode-Python-495. 提莫攻击495提莫攻击
LeetCode-Python-496. 下一个更大元素 I496下一个更大元素 I
LeetCode-Python-498. 对角线遍历498对角线遍历
LeetCode-Python-500. 键盘行500键盘行
LeetCode-Python-503. 下一个更大元素 II503下一个更大元素 II
LeetCode-Python/Java-506. 相对名次506相对名次
LeetCode-Python-507. 完美数507完美数
LeetCode-Python-509. 斐波那契数509斐波那契数
LeetCode-Python-513. 找树左下角的值513找树左下角的值
LeetCode-Python-515. 在每个树行中找最大值515在每个树行中找最大值
LeetCode-Python-520. 检测大写字母520检测大写字母
LeetCode-Python-529. 扫雷游戏529扫雷游戏
LeetCode-Python-530. 二叉搜索树的最小绝对差530二叉搜索树的最小绝对差
LeetCode-Python-531. 孤独像素 I531孤独像素 I
LeetCode-Python-535. TinyURL 的加密与解密535TinyURL
LeetCode-Python-537. 复数乘法537复数乘法
LeetCode-Python-538. 把二叉搜索树转换为累加树538把二叉搜索树转换为累加树
LeetCode-Python-540. 有序数组中的单一元素540有序数组中的单一元素
LeetCode-Python-542. 01 矩阵54201 矩阵
LeetCode-Python-543. 二叉树的直径543二叉树的直径
LeetCode-Python-547. 朋友圈547朋友圈
LeetCode-Python-551. 学生出勤记录 I551学生出勤记录 I
LeetCode-Python-554. 砖墙554砖墙
LeetCode-Python-557. 反转字符串中的单词 III557反转字符串中的单词 III
LeetCode-Python-559. N叉树的最大深度559N叉树的最大深度
LeetCode-Python-560. 和为K的子数组560和为K的子数组
LeetCode-Python-566. 重塑矩阵566重塑矩阵
LeetCode-Python-575. 分糖果575分糖果
LeetCode-MySQL-584. 寻找用户推荐人584寻找用户推荐人
LeetCode-Python-589. N叉树的前序遍历589N叉树的前序遍历
LeetCode-Python-590. N叉树的后序遍历590N叉树的后序遍历
LeetCode-Python-598. 范围求和 II598范围求和 II
LeetCode-Python-599. 两个列表的最小索引总和599两个列表的最小索引总和
LeetCode-Python-617. 合并二叉树617合并二叉树
LeetCode-Python-622. 设计循环队列622设计循环队列
LeetCode-Python-633. 平方数之和633平方数之和
634寻找数组的错位排列
LeetCode-Python-637. 二叉树的层平均值637二叉树的层平均值
LeetCode-Python-643. 子数组最大平均数 I643子数组最大平均数 I
LeetCode-Python-645. 错误的集合645错误的集合
LeetCode-Python/Java-647. 回文子串647回文子串
LeetCode-Python-648. 单词替换648单词替换
LeetCode-Python-654. 最大二叉树654最大二叉树
LeetCode-Python-657. 机器人能否返回原点657机器人能否返回原点
669修剪二叉搜索树
LeetCode-Python-671. 二叉树中第二小的节点671二叉树中第二小的节点
LeetCode-Python-674. 最长连续递增序列674最长连续递增序列
LeetCode-Python-677. 键值映射677键值映射
LeetCode-Python-682. 棒球比赛682棒球比赛
LeetCode-Python-684. 冗余连接684冗余连接
LeetCode-Python-690. 员工的重要性690员工的重要性
LeetCode-Python-693. 交替位二进制数693交替位二进制数
LeetCode-Python-695. 岛屿的最大面积695岛屿的最大面积
LeetCode-Python-697. 数组的度697数组的度
LeetCode-Python-697. 数组的度697数组的度
LeetCode-Python-700. 二叉搜索树中的搜索700二叉搜索树中的搜索
LeetCode-Python-701. 二叉搜索树中的插入操作701二叉搜索树中的插入操作
LeetCode-Python-702. 搜索长度未知的有序数组702搜索长度未知的有序数组
LeetCode-Python-703. 数据流中的第K大元素703数据流中的第K大元素
LeetCode-Python-704. 二分查找704二分查找
LeetCode-Python-705. 设计哈希集合705设计哈希集合
LeetCode-Python-706. 设计哈希映射706设计哈希映射
LeetCode-Python-709. 转换成小写字母709转换成小写字母
LeetCode-Python-714. 买卖股票的最佳时机含手续费714买卖股票的最佳时机含手续费
LeetCode-Python- 718. 最长重复子数组718最长重复子数组
LeetCode-Python-724. 寻找数组的中心索引724寻找数组的中心索引
LeetCode-Python-728. 自除数728自除数
LeetCode-Python-733. 图像渲染733图像渲染
LeetCode-Python-739. 每日温度739每日温度
LeetCode-Python-740. 删除与获得点数740删除与获得点数
LeetCode-Python-744. 寻找比目标字母大的最小字母744寻找比目标字母大的最小字母
LeetCode-Python-746. 使用最小花费爬楼梯746使用最小花费爬楼梯
LeetCode-Python-747. 至少是其他数字两倍的最大数747至少是其他数字两倍的最大数
LeetCode-Python-748. 最短完整词748最短完整词
LeetCode-Python-752. 打开转盘锁752打开转盘锁
LeetCode-Python-760. 找出变位映射760找出变位映射
LeetCode-Python-762. 二进制表示中质数个计算置位762二进制表示中质数个计算置位
LeetCode-Python-763. 划分字母区间763划分字母区间
771宝石与石头
LeetCode-Python-783. 二叉搜索树结点最小距离783二叉搜索树结点最小距离
LeetCode-Python-784. 字母大小写全排列784字母大小写全排列
LeetCode-Python-791. 自定义字符串排序791自定义字符串排序
LeetCode-Python-792. 匹配子序列的单词数(字符串 + 二分查找 + 哈希表)792匹配子序列的单词数
LeetCode-Python-796. 旋转字符串796旋转字符串
LeetCode-Python-797. 所有可能的路径797所有可能的路径
LeetCode-Python-804. 唯一摩尔斯密码词804唯一摩尔斯密码词
809情感丰富的文字
LeetCode-Python-811. 子域名访问计数811子域名访问计数
LeetCode-Python-814. 二叉树剪枝814二叉树剪枝
LeetCode-Python-817. 链表组件817链表组件
LeetCode-Python-819. 最常见的单词819最常见的单词
820单词的压缩编码
LeetCode-Python-821. 字符的最短距离821字符的最短距离
LeetCode-Python-824. 山羊拉丁文824山羊拉丁文
LeetCode-Python-830. 较大分组的位置830较大分组的位置
LeetCode-Python-832. 翻转图像832翻转图像
LeetCode-Python-840. 矩阵中的幻方840矩阵中的幻方
LeetCode-Python-841. 钥匙和房间841钥匙和房间
LeetCode-Python-844. 比较含退格的字符串844比较含退格的字符串
845数组中的最长山脉
LeetCode-Python-849. 到最近的人的最大距离849到最近的人的最大距离
LeetCode-Python-852. 山脉数组的峰顶索引852山脉数组的峰顶索引
LeetCode-Python-856. 括号的分数856括号的分数
LeetCode-Python-860. 柠檬水找零860柠檬水找零
LeetCode-Python-868. 二进制间距868二进制间距
LeetCode-Python-872. 叶子相似的树872叶子相似的树
LeetCode-Python-875. 爱吃香蕉的珂珂875爱吃香蕉的珂珂
LeetCode-Python-877. 石子游戏877石子游戏
LeetCode-Python-883. 三维形体投影面积883三维形体投影面积
LeetCode-Python-884. 两句话中的不常见单词884两句话中的不常见单词
LeetCode-Python-888. 公平的糖果交换888公平的糖果交换
LeetCode-Python-889. 根据前序和后序遍历构造二叉树889根据前序和后序遍历构造二叉树
LeetCode-Python-896. 单调数列896单调数列
LeetCode-Python-897. 递增顺序查找树897递增顺序查找树
LeetCode-Python-905. 按奇偶排序数组905按奇偶排序数组
LeetCode-Python-912. 排序数组912排序数组
914卡牌分组
LeetCode-Python-929. 独特的电子邮件地址929独特的电子邮件地址
LeetCode-Python-931. 下降路径最小和931下降路径最小和
LeetCode-Python-933. 最近的请求次数933最近的请求次数
LeetCode-Python-938. 二叉搜索树的范围和938二叉搜索树的范围和
LeetCode-Python-941. 有效的山脉数组941有效的山脉数组
LeetCode-Python-942. 增减字符串匹配942增减字符串匹配
LeetCode-Python-944. 删列造序944删列造序
LeetCode-Python-946. 验证栈序列946验证栈序列
LeetCode-Python-961. 重复 N 次的元素961重复 N 次的元素
LeetCode-Python-965. 单值二叉树965单值二叉树
LeetCode-Python-969. 煎饼排序969煎饼排序
LeetCode-Python-970. 强整数970强整数
973最接近原点的
LeetCode-Python-974. 和可被 K 整除的子数组974和可被 K 整除的子数组
LeetCode-Python-976. 三角形的最大周长976三角形的最大周长
LeetCode-Python-977. 有序数组的平方977有序数组的平方
LeetCode-Python-979. 在二叉树中分配硬币979在二叉树中分配硬币
LeetCode-Python-980. 不同路径 III980不同路径
LeetCode-Python-985. 查询后的偶数和985查询后的偶数和
LeetCode-Python-989. 数组形式的整数加法989数组形式的整数加法
LeetCode-Python-991. 坏了的计算器991坏了的计算器
LeetCode-Python-993. 二叉树的堂兄弟节点993二叉树的堂兄弟节点
LeetCode-Python-994. 腐烂的橘子994腐烂的橘子
LeetCode-Python-997. 找到小镇的法官997找到小镇的法官
LeetCode-Python-998. 最大二叉树 II998最大二叉树 II
LeetCode-Python-999. 车的可用捕获量999车的可用捕获量
LeetCode-Python-1002. 查找常用字符1002查找常用字符
LeetCode-Python-1003. 检查替换后的词是否有效1003检查替换后的词是否有效
LeetCode-Python-1004. 最大连续1的个数 III1004最大连续1的个数 III
LeetCode-Python-1005. K 次取反后最大化的数组和1005K 次取反后最大化的数组和
LeetCode-Python-1006. 笨阶乘1006笨阶乘
LeetCode-Python-1007. 行相等的最少多米诺旋转1007行相等的最少多米诺旋转
LeetCode-Python-1008. 先序遍历构造二叉树1008先序遍历构造二叉树
LeetCode-Python-1009. 十进制整数的反码1009十进制整数的反码
LeetCode-Python-1010. 总持续时间可被 60 整除的歌曲1010总持续时间可被 60 整除的歌曲
LeetCode-Python-1011. 在 D 天内送达包裹的能力1011在 D 天内送达包裹的能力
LeetCode-Python-1013. 将数组分成和相等的三个部分1013 将数组分成和相等的三个部分
LeetCode-Python-1014. 最佳观光组合1014 最佳观光组合
LeetCode-Python-1015. 可被 K 整除的最小整数1015整除的最小整数
LeetCode-Python-1016. 子串能表示从 1 到 N 数字的二进制串1016数字的二进制串
LeetCode-Python-1017. 负二进制转换1017负二进制转换
LeetCode-Python-1018. 可被 5 整除的二进制前缀1018整除的二进制前缀
LeetCode-Python-1019. 链表中的下一个更大节点1019 链表中的下一个更大节点
LeetCode-Python-1020. 飞地的数量1020 飞地的数量
LeetCode-Python-1021. 删除最外层的括号1021删除最外层的括号
LeetCode-Python-1022. 从根到叶的二进制数之和1022从根到叶的二进制数之和
LeetCode-Python-1023. 驼峰式匹配1023驼峰式匹配
LeetCode-Python-1024. 视频拼接1024视频拼接
LeetCode-Python-1025. 除数博弈1025除数博弈
LeetCode-Python-1026. 节点与其祖先之间的最大差值1026节点与其祖先之间的最大差值
LeetCode-Python-1027. 最长等差数列1027最长等差数列
LeetCode-Python-1028. 从先序遍历还原二叉树1028从先序遍历还原二叉树
LeetCode-Python-1029. 两地调度1029两地调度
LeetCode-Python-1030. 距离顺序排列矩阵单元格1030距离顺序排列矩阵单元格
LeetCode-Python-1031. 两个非重叠子数组的最大和1031两个非重叠子数组的最大和
LeetCode-Python-1033. 移动石子直到连续1033移动石子直到连续
LeetCode-Python-1034. 边框着色1034边框着色
LeetCode-Python-1035. 不相交的线1035不相交的线
LeetCode-Python-1037. 有效的回旋镖1037有效的回旋镖
LeetCode-Python-1038. 从二叉搜索树到更大和树1038从二叉搜索树到更大和树
LeetCode-Python-1041. 困于环中的机器人1041困于环中的机器人
LeetCode-Python-1042. 不邻接植花1042不邻接植花
LeetCode-Python-1043. 分隔数组以得到最大和1043分隔数组以得到最大和
LeetCode-Python-1046. 最后一块石头的重量1046最后一块石头的重量
LeetCode-Python-1047. 删除字符串中的所有相邻重复项1047删除字符串中的所有相邻重复项
LeetCode-Python-1048. 最长字符串链1048最长字符串链
LeetCode-Python-1051. 高度检查器1051高度检查器
LeetCode-Python-1052. 爱生气的书店老板1052爱生气的书店老板
LeetCode-Python-1053. 交换一次的先前排列1053交换一次的先前排列
LeetCode-Python-1054. 距离相等的条形码1054距离相等的条形码
1055形成字符串的最短路径
2019年力扣杯初赛-LeetCode-1056-1. 易混淆数1056易混淆数
2019年力扣杯初赛-LeetCode-1057-2. 校园自行车分配1057校园自行车分配
2019年力扣杯初赛-LeetCode-1058-3. 最小化舍入误差以满足目标1058最小化舍入误差以满足目标
2019年力扣杯决赛-LeetCode-1060-1. 有序数组中的缺失元素1060有序数组中的缺失元素
转 2019年力扣杯决赛-LeetCode-1061-2. 按字典序排列最小的等效字符串1061按字典序排列最小的等效字符串
2019年力扣杯决赛-LeetCode-1062-3. 最长重复子串1062最长重复子串
2019年力扣杯决赛--LeetCode-1063-4. 有效子数组的数目1063有效子数组的数目
LeetCode-Python-1064. 不动点1064不动点
LeetCode-Python-1065. 字符串的索引对1065字符串的索引对
LeetCode-Python-1066. 校园自行车分配 II1066校园自行车分配 II
LeetCode-Python-1071. 字符串的最大公因子1071字符串的最大公因子
LeetCode-Python-1073. 负二进制数相加1073负二进制数相加
LeetCode-Python-1078. Bigram 分词1078Bigram 分词
LeetCode-Python-1080. 根到叶路径上的不足节点1080根到叶路径上的不足节点
LeetCode-Python-1085. 最小元素各数位之和1085最小元素各数位之和
LeetCode-Python-1086. 前五科的均分1086前五科的均分
LeetCode-Python-1087. 字母切换1087字母切换
LeetCode-Python-1089. 复写零1089复写零
LeetCode-Python-1090. 受标签影响的最大值1090受标签影响的最大值
LeetCode-Python-1091. 二进制矩阵中的最短路径1091二进制矩阵中的最短路径
LeetCode-Python-1093. 大样本统计1093大样本统计
LeetCode-Python-1094. 拼车1094拼车
LeetCode-Python-1095. 山脉数组中查找目标值1095山脉数组中查找目标值
LeetCode-Python-1099. 小于 K 的两数之和1099小于 K 的两数之和
LeetCode-Python-1100. 长度为 K 的无重复字符子串1100长度为 K 的无重复字符子串
LeetCode-Python-1101. 彼此熟识的最早时间1101彼此熟识的最早时间
LeetCode-Python-1102. 得分最高的路径1102得分最高的路径
LeetCode-Python-1103. 二叉树寻路1103二叉树寻路
LeetCode-Python-1104. 分糖果 II1104分糖果 II
LeetCode-Python-1106. 解析布尔表达式1106解析布尔表达式
LeetCode-Python-1108. IP 地址无效化1108IP 地址无效化
LeetCode-Python-1109. 航班预订统计1109航班预订统计
LeetCode-Python-1110. 删点成林1110删点成林
LeetCode-Python-1111. 有效括号的嵌套深度1111有效括号的嵌套深度
LeetCode-Python-1118. 一月有多少天1118一月有多少天
LeetCode-Python-1119. 删去字符串中的元音1119删去字符串中的元音
LeetCode-Python-1120. 子树的最大平均值1120子树的最大平均值
LeetCode-Python-1121. 将数组分成几个递增序列1121将数组分成几个递增序列
LeetCode-Python-1122. 数组的相对排序1122数组的相对排序
LeetCode-Python-1123. 最深叶节点的最近公共祖先1123最深叶节点的最近公共祖先
LeetCode-Python-1128. 等价多米诺骨牌对的数量1128等价多米诺骨牌对的数量
LeetCode-Python-1129. 颜色交替的最短路径1129颜色交替的最短路径
LeetCode-Python-1130. 叶值的最小代价生成树1130叶值的最小代价生成树
LeetCode-Python-1131. 绝对值表达式的最大值1131绝对值表达式的最大值
LeetCode-Python-1133. 最大唯一数1133最大唯一数
LeetCode-Python-1134. 阿姆斯特朗数1134阿姆斯特朗数
LeetCode-Python-1135. 最低成本联通所有城市1135最低成本联通所有城市
LeetCode-Python-1136. 平行课程1136平行课程
LeetCode-Python-1137. 第 N 个泰波那契数1137第 N 个泰波那契数
LeetCode-Python-1138. 字母板上的路径1138字母板上的路径
LeetCode-Python-1144. 递减元素使数组呈锯齿状1144递减元素使数组呈锯齿状
LeetCode-Python-1145. 二叉树着色游戏1145二叉树着色游戏
LeetCode-Python-1146. 快照数组1146快照数组
LeetCode-Python-1147. 段式回文1147段式回文
LeetCode-Python-1150. 检查一个数是否在数组中占绝大多数1150检查一个数是否在数组中占绝大多数
LeetCode-Python-1151. 最少交换次数来组合所有的 11151最少交换次数来组合所有的 1
LeetCode-Python-1152. 用户网站访问行为分析1152用户网站访问行为分析
LeetCode-Python-1154. 一年中的第几天1154一年中的第几天
LeetCode-Python-1155. 掷骰子的N种方法1155掷骰子的N种方法
LeetCode-Python-1156. 单字符重复子串的最大长度1156单字符重复子串的最大长度
LeetCode-Python-1160. 拼写单词1160拼写单词
LeetCode-Python-1161. 最大层内元素和1161最大层内元素和
1161最大层内元素和
LeetCode-Python-1162. 地图分析1162地图分析
LeetCode-Python-1163. 按字典序排在最后的子串1163按字典序排在最后的子串
LeetCode-Python-1165. 单行键盘1165单行键盘
LeetCode-Python-1166. 设计文件系统1166设计文件系统
LeetCode-Python-1167. 连接棒材的最低费用1167连接棒材的最低费用
LeetCode-Python-1168. 水资源分配优化1168水资源分配优化
LeetCode-Python-1169.查询无效交易1169查询无效交易
LeetCode-Python-1170. 比较字符串最小字母出现频次(数组 + 字符串 + 二分查找)1170比较字符串最小字母出现频次(数组 + 字符串
LeetCode-Python-1170.比较字符串最小字母出现频次1170比较字符串最小字母出现频次
1170比较字符串最小字母出现频次
LeetCode-Python-1171.从链表中删去总和值为零的连续节点1171从链表中删去总和值为零的连续节点
LeetCode-Python-1172.餐盘栈1172餐盘栈
LeetCode-Python-1175. 质数排列1175质数排列
LeetCode-Python-1176. 健身计划评估1176健身计划评估
LeetCode-Python-1177. 构建回文串检测1177构建回文串检测
LeetCode-Python-1178. 猜字谜1178猜字谜
LeetCode-Python-1180. 统计只含单一字母的子串1180统计只含单一字母的子串
LeetCode-Python-1181. 前后拼接1181前后拼接
LeetCode-Python-1182. 与目标颜色间的最短距离1182与目标颜色间的最短距离
LeetCode-Python-1184. 公交站间的距离1184公交站间的距离
LeetCode-Python-1185. 一周中的第几天1185一周中的第几天
LeetCode-Python-1186. 删除一次得到子数组最大和1186删除一次得到子数组最大和
LeetCode-Python-1189. “气球” 的最大数量1189“气球”
LeetCode-Python-1190. 反转每对括号间的子串1190反转每对括号间的子串
LeetCode-Python-1191. K 次串联后最大子数组之和1191K
LeetCode-Python-1192. 查找集群内的「关键连接」1192查找集群内的「关键连接」
LeetCode-Python-1196. 最多可以买到的苹果数量1196最多可以买到的苹果数量
LeetCode-Python-1197. 进击的骑士1197进击的骑士
1198找出所有行中最小公共元素
LeetCode-Python-1207. 独一无二的出现次数1207独一无二的出现次数
LeetCode-Python-1208. 尽可能使字符串相等1208尽可能使字符串相等
LeetCode-Python-1209. 删除字符串中的所有相邻重复项 II1209删除字符串中的所有相邻重复项
LeetCode-Python-1210. 穿过迷宫的最少移动次数1210穿过迷宫的最少移动次数
1219黄金矿工
LeetCode-Python-1228. 等差数列中缺失的数字(数组)1228等差数列中缺失的数字
LeetCode-Python-1229. 安排会议日程(区间+数组)1229安排会议日程
LeetCode-Python-1230. 抛掷硬币(数学 + DP)1230抛掷硬币
LeetCode-Python-1231. 分享巧克力(二分试探法)1231分享巧克力
LeetCode-Python-1232. 缀点成线(数学)1232缀点成线
LeetCode-Python-1237.找出给定方程的正整数解1237找出给定方程的正整数解
LeetCode-Python-1238. 循环码排列1238循环码排列
LeetCode-Python-1239.串联字符串的最大长度1239串联字符串的最大长度
LeetCode-Python-1240. 铺瓷砖1240铺瓷砖
LeetCode-Python-1243. 数组变换1243数组变换
LeetCode-Python0-1244. 力扣排行榜1244力扣排行榜
LeetCode-Python-1245. 树的直径1245树的直径
LeetCode-Python-1247. 交换字符使得字符串相同(数学+字符串)1247交换字符使得字符串相同
LeetCode-Python-1248. 统计「优美子数组」(数组 + 数学)1248统计「优美子数组」
LeetCode-Python-1249. 移除无效的括号(字符串 + 栈)1249移除无效的括号
LeetCode-Python-1250. 检查「好数组」(数学)1250检查「好数组」
LeetCode-Python-1252. 奇数值单元格的数目(暴力法)1252奇数值单元格的数目
LeetCode-Python-1253. 重构 2 行二进制矩阵(模拟法)1253重构
LeetCode-Python-1254. 统计封闭岛屿的数目(DFS)1254统计封闭岛屿的数目
LeetCode-Python-1255. 得分最高的单词集合(回溯)1255得分最高的单词集合
1256加密数字
1257最小公共区域
1258近义词句子
1259不相交的握手
1260二维网格迁移
1261在受污染的二叉树中查找元素
1262可被三整除的最大和
1265逆序打印不可变链表
1266访问所有点的最小时间
1267统计参与通信的服务器
1268搜索推荐系统
1269停在原地的方案数
1275找出井字棋的获胜者
1276不浪费原料的汉堡制作方案
1281整数的各位积和之差
1282用户分组
1283使结果不超过阈值的最小除数
1284转化为全零矩阵的最少反转次数
1286字母组合迭代器
1287有序数组中出现次数超过25
1288删除被覆盖区间
1290二进制链表转整数
1291顺次数
1295统计位数为偶数的数字
1296划分数组为连续数字的集合
1297子串的最大出现次数
1298你能从盒子里获得的最大糖果数
1299将每个元素替换为右侧最大元素
1300转变数组后最接近目标值的数组和
1302层数最深叶子节点的和
1304和为零的N个唯一整数
1305两棵二叉搜索树中的所有元素
1306跳跃游戏
1309解码字母到整数映射
1310子数组异或查询
1311获取你好友已观看的视频
1313解压缩编码列表
1315祖父节点值为偶数的节点和
1318或运算的最小翻转次数
1319连通网络的操作次数
13236 和 9 组成的最大数字
1324竖直打印单词
1325删除给定值的叶子节点
1326灌溉花园的最少水龙头数目
1328破坏回文串
1329将矩阵按对角线排序
1331数组序号转换
1332删除回文子序列
1333餐厅过滤器
1334阈值距离内邻居最少的城市
1341方阵中战斗力最弱的
1342数组大小减半
1343分裂二叉树的最大乘积
1344跳跃游戏
1345跳跃游戏
1351统计有序矩阵中的负数
1352最后
1353最多可以参加的会议数目
1354多次求和构造目标数组
1374生成每种字符都是奇数个的字符串
1375灯泡开关
1376通知所有员工所需的时间
1377T
1380矩阵中的幸运数
1381设计一个支持增量操作的栈
1382将二叉搜索树变平衡
1383最大的团队表现值
1385两个数组间的距离值
1386安排电影院座位
1387将整数按权重排序
1389按既定顺序创建目标数组
1390四因数
1391检查网格中是否存在有效路径
1392最长快乐前缀
1394找出数组中的幸运数
1395统计作战单位数
1396设计地铁系统
   
   
Logo

旨在为数千万中国开发者提供一个无缝且高效的云端环境,以支持学习、使用和贡献开源项目。

更多推荐