Python刷题记录
Python刷Leetcode记录
板砖大的砖头
在校生
展开
-
LeetCode(力扣)150. 逆波兰表达式求值(Python)
【代码】LeetCode(力扣)150. 逆波兰表达式求值(Python)原创 2023-07-31 18:22:47 · 101 阅读 · 0 评论 -
LeetCode(力扣)20. 有效的括号(Python)
【代码】LeetCode(力扣)20. 有效的括号(Python)原创 2023-07-29 21:26:33 · 152 阅读 · 0 评论 -
LeetCode(力扣)101. 对称二叉树Python
【代码】LeetCode(力扣)101. 对称二叉树Python。原创 2023-08-04 12:22:55 · 41 阅读 · 0 评论 -
LeetCode(力扣)226. 翻转二叉树Python
【代码】LeetCode(力扣)226. 翻转二叉树Python。原创 2023-08-04 00:56:34 · 35 阅读 · 0 评论 -
LeetCode(力扣)102. 二叉树的层序遍历Python
【代码】LeetCode(力扣)102. 二叉树的层序遍历Python。原创 2023-08-03 11:26:14 · 111 阅读 · 0 评论 -
LeetCode(力扣)225. 用队列实现栈(Python)
【代码】LeetCode(力扣)225. 用队列实现栈(python)原创 2023-07-29 21:12:14 · 66 阅读 · 0 评论 -
LeetCode(力扣)257. 二叉树的所有路径Python
【代码】LeetCode(力扣)257. 二叉树的所有路径Python。原创 2023-08-17 21:23:45 · 179 阅读 · 0 评论 -
LeetCode(力扣)144. 二叉树的前序遍历Python
【代码】LeetCode(力扣)144. 二叉树的前序遍历Python。原创 2023-08-02 16:56:43 · 111 阅读 · 0 评论 -
LeetCode(力扣)347. 前 K 个高频元素Python
【代码】LeetCode(力扣)347. 前 K 个高频元素Python。原创 2023-08-02 16:28:04 · 96 阅读 · 0 评论 -
LeetCode(力扣)71. 简化路径Python
【代码】LeetCode(力扣)71. 简化路径Python。原创 2023-08-01 23:01:52 · 92 阅读 · 0 评论 -
LeetCode(力扣)404. 左叶子之和Python
【代码】LeetCode(力扣)404. 左叶子之和Python。原创 2023-08-17 23:38:12 · 179 阅读 · 0 评论 -
LeetCode(力扣)111. 二叉树的最小深度Python
【代码】LeetCode(力扣)111. 二叉树的最小深度Python。原创 2023-08-10 11:52:34 · 47 阅读 · 0 评论 -
LeetCode(力扣)239. 滑动窗口最大值Python
【代码】LeetCode(力扣)239. 滑动窗口最大值Python。原创 2023-07-31 21:52:44 · 58 阅读 · 0 评论 -
LeetCode(力扣)1047. 删除字符串中的所有相邻重复项Python
【代码】LeetCode(力扣)1047. 删除字符串中的所有相邻重复项Python。原创 2023-07-29 22:33:50 · 117 阅读 · 0 评论 -
LeetCode(力扣)104. 二叉树的最大深度Python
【代码】LeetCode(力扣)104. 二叉树的最大深度Python。原创 2023-08-10 00:45:56 · 54 阅读 · 0 评论 -
leetcode(力扣)232. 用栈实现队列(Python)
【代码】leetcode(力扣)232. 用栈实现队列(Python)原创 2023-07-29 20:53:31 · 62 阅读 · 0 评论 -
LeetCode(力扣)96. 不同的二叉搜索树Python
【代码】LeetCode(力扣)96. 不同的二叉搜索树Python。原创 2023-09-20 21:39:02 · 274 阅读 · 1 评论 -
LeetCode(力扣)63. 不同路径 IIPython
【代码】LeetCode(力扣)63. 不同路径 IIPython。原创 2023-09-19 21:47:47 · 217 阅读 · 0 评论 -
LeetCode(力扣)738. 单调递增的数字Python
【代码】LeetCode(力扣)738. 单调递增的数字Python。原创 2023-09-16 21:54:17 · 227 阅读 · 0 评论 -
LeetCode(力扣)55. 跳跃游戏Python
【代码】LeetCode(力扣)55. 跳跃游戏Python。原创 2023-09-12 20:03:09 · 393 阅读 · 0 评论 -
LeetCode(力扣)406. 根据身高重建队列Python
【代码】LeetCode(力扣)406. 根据身高重建队列Python。原创 2023-09-14 19:54:36 · 168 阅读 · 0 评论 -
LeetCode(力扣)70. 爬楼梯Python
【代码】LeetCode(力扣)70. 爬楼梯Python。原创 2023-09-18 21:46:05 · 173 阅读 · 0 评论 -
LeetCode(力扣)763. 划分字母区间Python
【代码】LeetCode(力扣)763. 划分字母区间Python。原创 2023-09-16 00:03:29 · 212 阅读 · 0 评论 -
LeetCode(力扣)435. 无重叠区间Python
【代码】LeetCode(力扣)435. 无重叠区间Python。原创 2023-09-15 22:59:10 · 242 阅读 · 0 评论 -
LeetCode(力扣)45. 跳跃游戏 IIPython
【代码】LeetCode(力扣)45. 跳跃游戏 IIPython。原创 2023-09-12 20:30:10 · 233 阅读 · 0 评论 -
LeetCode(力扣)860. 柠檬水找零Python
【代码】LeetCode(力扣)860. 柠檬水找零Python。原创 2023-09-14 19:42:52 · 202 阅读 · 0 评论 -
LeetCode(力扣)122. 买卖股票的最佳时机 II
【代码】LeetCode(力扣)122. 买卖股票的最佳时机 II。原创 2023-09-11 20:51:08 · 252 阅读 · 0 评论 -
LeetCode(力扣)509. 斐波那契数Python
【代码】LeetCode(力扣)509. 斐波那契数Python。原创 2023-09-18 21:21:50 · 172 阅读 · 0 评论 -
LeetCode(力扣)62. 不同路径Python
【代码】LeetCode(力扣)62. 不同路径Python。原创 2023-09-19 21:24:59 · 227 阅读 · 0 评论 -
LeetCode(力扣)416. 分割等和子集Python
【代码】LeetCode(力扣)416. 分割等和子集Python。原创 2023-10-11 23:13:13 · 410 阅读 · 0 评论 -
LeetCode(力扣)968. 监控二叉树Python
【代码】LeetCode(力扣)968. 监控二叉树Python。原创 2023-09-16 22:20:51 · 257 阅读 · 0 评论 -
LeetCode(力扣)452. 用最少数量的箭引爆气球Python
【代码】LeetCode(力扣)452. 用最少数量的箭引爆气球Python。原创 2023-09-14 20:18:22 · 184 阅读 · 0 评论 -
LeetCode(力扣)53. 最大子数组和Python
【代码】LeetCode(力扣)53. 最大子数组和Python。原创 2023-09-11 20:34:34 · 203 阅读 · 0 评论 -
LeetCode(力扣)134. 加油站Python
【代码】LeetCode(力扣)134. 加油站Python。原创 2023-09-13 21:56:36 · 207 阅读 · 0 评论 -
LeetCode(力扣)56. 合并区间Python
【代码】LeetCode(力扣)56. 合并区间Python。原创 2023-09-16 21:26:12 · 252 阅读 · 0 评论 -
LeetCode(力扣)1005. K 次取反后最大化的数组和Python
【代码】LeetCode(力扣)1005. K 次取反后最大化的数组和Python。原创 2023-09-12 20:42:45 · 188 阅读 · 1 评论 -
LeetCode(力扣)98. 验证二叉搜索树Python
【代码】LeetCode(力扣)98. 验证二叉搜索树Python。原创 2023-08-28 22:34:35 · 145 阅读 · 0 评论 -
LeetCode(力扣)617. 合并二叉树Python
【代码】LeetCode(力扣)617. 合并二叉树Python。原创 2023-08-28 20:25:30 · 197 阅读 · 0 评论 -
LeetCode(力扣)40. 组合总和 IIPython
【代码】LeetCode(力扣)40. 组合总和 IIPython。原创 2023-09-07 00:05:57 · 213 阅读 · 0 评论 -
LeetCode(力扣)236. 二叉树的最近公共祖先Python
【代码】LeetCode(力扣)236. 二叉树的最近公共祖先Python。原创 2023-08-30 20:03:58 · 244 阅读 · 0 评论