python 基础代码
.vscode | 8 months ago | |
0001.两数之和 | 3 months ago | |
0002.两数相加 | 8 months ago | |
0003.无重复字符的最长子串 | 8 months ago | |
0004.寻找两个有序数组的中位数 | 8 months ago | |
0005.最长回文子串 | 8 months ago | |
0006.Z字形变换 | 8 months ago | |
0007.整数反转 | 8 months ago | |
0008.字符串转换整数(atoi) | 8 months ago | |
0009.回文数 | 8 months ago | |
0010.正则表达式匹配 | 11 months ago | |
0011.盛最多水的容器 | 8 months ago | |
0012.整数转罗马数字 | 7 months ago | |
0013.罗马数字转整数 | 11 months ago | |
0014.最长公共前缀 | 8 months ago | |
0015.三数之和 | 8 months ago | |
0016.最接近的三数之和 | 8 months ago | |
0017.电话号码的字母组合 | 8 months ago | |
0018.四数之和 | 8 months ago | |
0019.删除链表的倒数第N个节点 | 8 months ago | |
0020.有效的括号 | 8 months ago | |
0021.合并两个有序链表 | 8 months ago | |
0022.括号生成 | 8 months ago | |
0023.合并K个排序链表 | 8 months ago | |
0024.两两交换链表中的节点 | 8 months ago | |
0026.删除排序数组中的重复项 | 8 months ago | |
0027.移除元素 | 8 months ago | |
0028.实现strStr() | 8 months ago | |
0029.两数相除 | 8 months ago | |
0031.下一个排列 | 8 months ago | |
0032.最长有效括号 | 8 months ago | |
0033.搜索旋转排序数组 | 8 months ago | |
0034.在排序数组中查找元素的第一个和最后一个位置 | 8 months ago | |
0035.搜索插入位置 | 8 months ago | |
0036.有效的数独 | 8 months ago | |
0037.解数独 | 8 months ago | |
0038.报数 | 8 months ago | |
0039.组合总和 | 8 months ago | |
0040.组合总和II | 8 months ago | |
0041.缺失的第一个正数 | 8 months ago | |
0042.接雨水 | 8 months ago | |
0043.字符串相乘 | 8 months ago | |
0044.通配符匹配 | 8 months ago | |
0046.全排列 | 8 months ago | |
0047.全排列II | 8 months ago | |
0048.旋转图像 | 8 months ago | |
0049.字母异位词分组 | 8 months ago | |
0050.Pow(x,n) | 8 months ago | |
0051.N皇后 | 8 months ago | |
0052.N皇后II | 8 months ago | |
0053.最大子序和 | 8 months ago | |
0054.螺旋矩阵 | 8 months ago | |
0055.跳跃游戏 | 8 months ago | |
0056.合并区间 | 6 days ago | |
0057.插入区间 | 8 months ago | |
0058.最后一个单词的长度 | 8 months ago | |
0059.螺旋矩阵II | 8 months ago | |
0060.第k个排列 | 8 months ago | |
0061.旋转链表 | 8 months ago | |
0062.不同路径 | 8 months ago | |
0063.不同路径II | 8 months ago | |
0064.最小路径和 | 8 months ago | |
0066.加一 | 8 months ago | |
0067.二进制求和 | 8 months ago | |
0069.x的平方根 | 8 months ago | |
0070.爬楼梯 | 8 months ago | |
0071.简化路径 | 8 months ago | |
0072.编辑距离 | 8 months ago | |
0073.矩阵置零 | 8 months ago | |
0074.搜索二维矩阵 | 8 months ago | |
0075.颜色分类 | 8 months ago | |
0077.组合 | 8 months ago | |
0078.子集 | 8 months ago | |
0079.单词搜索 | 8 months ago | |
0080.删除排序数组中的重复项II | 8 months ago | |
0081.搜索旋转排序数组II | 8 months ago | |
0082.删除排序链表中的重复元素II | 8 months ago | |
0083.删除排序链表中的重复元素 | 8 months ago | |
0084.柱状图中最大的矩形 | 8 months ago | |
0088.合并两个有序数组 | 8 months ago | |
0089.格雷编码 | 8 months ago | |
0090.子集II | 8 months ago | |
0092.反转链表II | 8 months ago | |
0094.二叉树的中序遍历 | 3 months ago | |
0096.不同的二叉搜索树 | 3 months ago | |
0098.验证二叉搜索树 | 8 months ago | |
0099.恢复二叉搜索树 | 8 months ago | |
0100.相同的树 | 8 months ago | |
0101.对称二叉树 | 8 months ago | |
0102.二叉树的层次遍历 | 3 months ago | |
0103.二叉树的锯齿形层次遍历 | 8 months ago | |
0104.二叉树的最大深度 | 8 months ago | |
0105.从前序与中序遍历序列构造二叉树 | 3 months ago | |
0106.从中序与后序遍历序列构造二叉树 | 3 months ago | |
0107.二叉树的层次遍历II | 3 months ago | |
0108.将有序数组转换为二叉搜索树 | 3 months ago | |
0109.有序链表转换二叉搜索树 | 8 months ago | |
0110.平衡二叉树 | 8 months ago | |
0111.二叉树的最小深度 | 8 months ago | |
0112.路径总和 | 8 months ago | |
0113.路径总和II | 8 months ago | |
0114.二叉树展开为链表 | 3 months ago | |
0116.填充每个节点的下一个右侧节点指针 | 8 months ago | |
0117.填充每个节点的下一个右侧节点指针II | 8 months ago | |
0118.杨辉三角 | 8 months ago | |
0119.杨辉三角II | 8 months ago | |
0120.三角形最小路径和 | 8 months ago | |
0121.买卖股票的最佳时机 | last month | |
0122.买卖股票的最佳时机II | 8 months ago | |
0123.买卖股票的最佳时机III | 8 months ago | |
0125.验证回文串 | 8 months ago | |
0126.单词接龙II | 8 months ago | |
0127.单词接龙 | 8 months ago | |
0128.最长连续序列 | 8 months ago | |
0129.求根到叶子节点数字之和 | 8 months ago | |
0130.被围绕的区域 | 8 months ago | |
0131.分割回文串 | 11 months ago | |
0132.分割回文串II | 8 months ago | |
0133.克隆图 | 8 months ago | |
0134.加油站 | 8 months ago | |
0136.只出现一次的数字 | 8 months ago | |
0137.只出现一次的数字II | 8 months ago | |
0138.复制带随机指针的链表 | 8 months ago | |
0139.单词拆分 | 8 months ago | |
0141.环形链表 | 8 months ago | |
0142.环形链表II | 8 months ago | |
0143.重排链表 | 8 months ago | |
0144.二叉树的前序遍历 | 4 months ago | |
0145.二叉树的后序遍历 | 3 months ago | |
0146.LRU缓存机制 | 8 months ago | |
0147.对链表进行插入排序 | 8 months ago | |
0148.排序链表 | 8 months ago | |
0150.逆波兰表达式求值 | 8 months ago | |
0151.翻转字符串里的单词 | 8 months ago | |
0152.乘积最大子序列 | 8 months ago | |
0153.寻找旋转排序数组中的最小值 | 8 months ago | |
0154.寻找旋转排序数组中的最小值II | 8 months ago | |
0155.最小栈 | 8 months ago | |
0156.上下翻转二叉树 | 8 months ago | |
0157.用Read4读取N个字符 | 8 months ago | |
0159.至多包含两个不同字符的最长子串 | 8 months ago | |
0160.相交链表 | 8 months ago | |
0161.相隔为1的编辑距离 | 8 months ago | |
0162.寻找峰值 | 8 months ago | |
0163.缺失的区间 | 8 months ago | |
0164.最大间距 | 8 months ago | |
0165.比较版本号 | 8 months ago | |
0167.两数之和II-输入有序数组 | 8 months ago | |
0168.Excel表列名称 | 8 months ago | |
0169.多数元素 | last month | |
0169.求众数 | 8 months ago | |
0170.两数之和III-数据结构设计 | 8 months ago | |
0171.Excel表列序号 | 8 months ago | |
0172.阶乘后的零 | 8 months ago | |
0173.二叉搜索树迭代器 | 3 months ago | |
0175.组合两个表 | 11 months ago | |
0181.超过经理收入的员工 | 11 months ago | |
0182.查找重复的电子邮箱 | 11 months ago | |
0183.从不订购的客户 | 11 months ago | |
0184.部门工资最高的员工 | 11 months ago | |
0186.翻转字符串里的单词II | 11 months ago | |
0187.重复的DNA序列 | 11 months ago | |
0188.买卖股票的最佳时机IV | 8 months ago | |
0189.旋转数组 | 8 months ago | |
0190.颠倒二进制位 | 8 months ago | |
0191.位1的个数 | 8 months ago | |
0197.上升的温度 | 11 months ago | |
0198.打家劫舍 | 8 months ago | |
0199.二叉树的右视图 | 3 months ago | |
0200.岛屿数量 | 8 months ago | |
0201.数字范围按位与 | 8 months ago | |
0202.快乐数 | 8 months ago | |
0203.移除链表元素 | 8 months ago | |
0204.计数质数 | 8 months ago | |
0205.同构字符串 | 8 months ago | |
0206.反转链表 | 8 months ago | |
0207.课程表 | 9 months ago | |
0208.实现Trie(前缀树) | 9 months ago | |
0209.长度最小的子数组 | 9 months ago | |
0210.课程表II | 9 months ago | |
0211.添加与搜索单词-数据结构设计 | 8 months ago | |
0212.单词搜索II | 8 months ago | |
0213.打家劫舍II | 9 months ago | |
0214.最短回文串 | 8 months ago | |
0215.数组中的第K个最大元素 | 8 months ago | |
0216.组合总和III | 8 months ago | |
0217.存在重复元素 | 8 months ago | |
0219.存在重复元素II | 8 months ago | |
0220.存在重复元素III | 9 months ago | |
0221.最大正方形 | 11 months ago | |
0222.完全二叉树的节点个数 | 3 months ago | |
0223.矩形面积 | 9 months ago | |
0225.用队列实现栈 | 2 months ago | |
0226.翻转二叉树 | 9 months ago | |
0227.基本计算器II | 9 months ago | |
0228.汇总区间 | 9 months ago | |
0230.二叉搜索树中第K小的元素 | 3 months ago | |
0231.2的幂 | 9 months ago | |
0232.用栈实现队列 | 9 months ago | |
0234.回文链表 | 8 months ago | |
0235.二叉搜索树的最近公共祖先 | 11 months ago | |
0236.二叉树的最近公共祖先 | 8 months ago | |
0237.删除链表中的节点 | 8 months ago | |
0238.除自身以外数组的乘积 | 8 months ago | |
0239.滑动窗口最大值 | 8 months ago | |
0240.搜索二维矩阵II | 8 months ago | |
0241.为运算表达式设计优先级 | 8 months ago | |
0242.有效的字母异位词 | 8 months ago | |
0243.最短单词距离 | 8 months ago | |
0244.最短单词距离II | 8 months ago | |
0245.最短单词距离III | 8 months ago | |
0246.中心对称数 | 8 months ago | |
0247.中心对称数II | 8 months ago | |
0248.中心对称数III | 8 months ago | |
0249.移位字符串分组 | 8 months ago | |
0251.展开二维向量 | 8 months ago | |
0252.会议室 | 8 months ago | |
0253.会议室II | 8 months ago | |
0254.因子的组合 | 11 months ago | |
0256.粉刷房子 | 8 months ago | |
0257.二叉树的所有路径 | 3 months ago | |
0258.各位相加 | 8 months ago | |
0259.较小的三数之和 | 8 months ago | |
0260.只出现一次的数字III | 8 months ago | |
0261.以图判树 | 8 months ago | |
0263.丑数 | 8 months ago | |
0264.丑数II | 8 months ago | |
0265.粉刷房子II | 8 months ago | |
0266.回文排列 | 8 months ago | |
0267.回文排列II | 8 months ago | |
0268.缺失数字 | 8 months ago | |
0270.最接近的二叉搜索树值 | 8 months ago | |
0271.字符串的编码与解码 | 8 months ago | |
0272.最接近的二叉搜索树值II | 8 months ago | |
0273.整数转换英文表示 | 8 months ago | |
0274.H指数 | 8 months ago | |
0275.H指数II | 8 months ago | |
0276.栅栏涂色 | 8 months ago | |
0277.搜寻名人 | 8 months ago | |
0278.第一个错误的版本 | 8 months ago | |
0279.完全平方数 | 8 months ago | |
0280.摆动排序 | 8 months ago | |
0281.锯齿迭代器 | 8 months ago | |
0283.移动零 | 8 months ago | |
0284.顶端迭代器 | 8 months ago | |
0285.二叉搜索树中的顺序后继 | 8 months ago | |
0286.墙与门 | 8 months ago | |
0287.寻找重复数 | 8 months ago | |
0288.单词的唯一缩写 | 8 months ago | |
0289.生命游戏 | 8 months ago | |
0290.单词规律 | 8 months ago | |
0292.Nim游戏 | 11 months ago | |
0293.翻转游戏 | 8 months ago | |
0294.翻转游戏II | 7 months ago | |
0295.数据流的中位数 | 7 months ago | |
0296.最佳的碰头地点 | 5 months ago | |
0298.二叉树最长连续序列 | 9 months ago | |
0299.猜数字游戏 | 5 months ago | |
0300.最长上升子序列 | last month | |
0302.包含全部黑色像素的最小矩形 | 11 months ago | |
0303.区域和检索-数组不可变 | 11 months ago | |
0309.最佳买卖股票时机含冷冻期 | 8 months ago | |
0315.计算右侧小于当前元素的个数 | 5 months ago | |
0318.最大单词长度乘积 | 11 months ago | |
0322.零钱兑换 | 2 months ago | |
0323.无向图中连通分量的数目 | 11 months ago | |
0326.3的幂 | 5 months ago | |
0338.比特位计数 | 11 months ago | |
0339.嵌套列表权重和 | 10 months ago | |
0341.扁平化嵌套列表迭代器 | 10 months ago | |
0342.4的幂 | 11 months ago | |
0344.反转字符串 | 8 months ago | |
0345.反转字符串中的元音字母 | 11 months ago | |
0346.数据流中的移动平均值 | 11 months ago | |
0347.前K个高频元素 | 11 months ago | |
0348.判定井字棋胜负 | 11 months ago | |
0349.两个数组的交集 | 11 months ago | |
0350.两个数组的交集II | 11 months ago | |
0359.日志速率限制器 | 9 months ago | |
0361.轰炸敌人 | 11 months ago | |
0362.敲击计数器 | 10 months ago | |
0364.加权嵌套序列和II | 10 months ago | |
0365.水壶问题 | last month | |
0366.寻找完全二叉树的叶子节点 | 3 months ago | |
0367.有效的完全平方数 | 11 months ago | |
0369.给单链表加一 | 11 months ago | |
0370.区间加法 | 11 months ago | |
0371.两整数之和 | 11 months ago | |
0374.猜数字大小 | 11 months ago | |
0376.摆动序列 | 11 months ago | |
0377.组合总和Ⅳ | 11 months ago | |
0378.有序矩阵中第K小的元素 | 11 months ago | |
0379.电话目录 | 11 months ago | |
0383.赎金信 | 11 months ago | |
0386.字典序排数 | 5 months ago | |
0387.字符串中的第一个唯一字符 | 3 months ago | |
0389.找不同 | 11 months ago | |
0392.判断子序列 | 5 months ago | |
0399.除法求值 | 11 months ago | |
0404.左叶子之和 | 11 months ago | |
0409.最长回文串 | last month | |
0410.分割数组的最大值 | 11 months ago | |
0412.FizzBuzz | 11 months ago | |
0413.等差数列划分 | 11 months ago | |
0414.第三大的数 | 9 months ago | |
0415.字符串相加 | 8 months ago | |
0417.太平洋大西洋水流问题 | 11 months ago | |
0419.甲板上的战舰 | 11 months ago | |
0421.数组中两个数的最大异或值 | 11 months ago | |
0423.从英文中重建数字 | 11 months ago | |
0426.将二叉搜索树转化为排序的双向链表 | 2 months ago | |
0429.N叉树的层序遍历 | 3 months ago | |
0430.扁平化多级双向链表 | 5 months ago | |
0433.最小基因变化 | 11 months ago | |
0434.字符串中的单词数 | 11 months ago | |
0436.寻找右区间 | 5 months ago | |
0438.找到字符串中所有字母异位词 | 11 months ago | |
0441.排列硬币 | 11 months ago | |
0442.数组中重复的数据 | 11 months ago | |
0445.两数相加II | 9 months ago | |
0448.找到所有数组中消失的数字 | 11 months ago | |
0451.根据字符出现频率排序 | 11 months ago | |
0452.用最少数量的箭引爆气球 | 5 months ago | |
0454.四数相加II | 11 months ago | |
0455.分发饼干 | 11 months ago | |
0461.汉明距离 | 11 months ago | |
0463.岛屿的周长 | 11 months ago | |
0470.用Rand7()实现Rand10() | 11 months ago | |
0476.数字的补数 | 11 months ago | |
0477.汉明距离总和 | 5 months ago | |
0482.密钥格式化 | 5 months ago | |
0485.最大连续1的个数 | 11 months ago | |
0487.最大连续1的个数II | 11 months ago | |
0495.提莫攻击 | 11 months ago | |
0496.下一个更大元素I | 3 months ago | |
0498.对角线遍历 | 11 months ago | |
0500.键盘行 | 11 months ago | |
0501.二叉搜索树中的众数 | 11 months ago | |
0503.下一个更大元素II | 11 months ago | |
0506.相对名次 | 11 months ago | |
0507.完美数 | 11 months ago | |
0509.斐波那契数 | 11 months ago | |
0513.找树左下角的值 | 3 months ago | |
0515.在每个树行中找最大值 | 11 months ago | |
0520.检测大写字母 | 11 months ago | |
0529.扫雷游戏 | 11 months ago | |
0530.二叉搜索树的最小绝对差 | 11 months ago | |
0531.孤独像素I | 11 months ago | |
0535.TinyURL的加密与解密 | 11 months ago | |
0537.复数乘法 | 11 months ago | |
0538.把二叉搜索树转换为累加树 | 11 months ago | |
0540.有序数组中的单一元素 | 11 months ago | |
0542.01矩阵 | 11 months ago | |
0543.二叉树的直径 | last month | |
0547.朋友圈 | 11 months ago | |
0551.学生出勤记录I | 2 months ago | |
0554.砖墙 | 11 months ago | |
0557.反转字符串中的单词III | 11 months ago | |
0559.N叉树的最大深度 | 3 months ago | |
0560.和为K的子数组 | 2 months ago | |
0561.数组拆分I | 11 months ago | |
0566.重塑矩阵 | 11 months ago | |
0575.分糖果 | 11 months ago | |
0581.最短无序连续子数组 | 4 months ago | |
0584.寻找用户推荐人 | 11 months ago | |
0589.N叉树的前序遍历 | 4 months ago | |
0590.N叉树的后序遍历 | 4 months ago | |
0595.大的国家 | 11 months ago | |
0596.超过5名学生的课 | 11 months ago | |
0598.范围求和II | 11 months ago | |
0599.两个列表的最小索引总和 | 9 months ago | |
0617.合并二叉树 | 11 months ago | |
0620.有趣的电影 | 11 months ago | |
0622.设计循环队列 | 11 months ago | |
0626.换座位 | 11 months ago | |
0627.交换工资 | 11 months ago | |
0633.平方数之和 | 3 months ago | |
0634.寻找数组的错位排列 | 3 months ago | |
0637.二叉树的层平均值 | 3 months ago | |
0643.子数组最大平均数I | 11 months ago | |
0645.错误的集合 | 11 months ago | |
0646.最长数对链 | 5 months ago | |
0647.回文子串 | 11 months ago | |
0648.单词替换 | 9 months ago | |
0654.最大二叉树 | 11 months ago | |
0657.机器人能否返回原点 | 11 months ago | |
0669.修剪二叉搜索树 | 3 months ago | |
0671.二叉树中第二小的节点 | 11 months ago | |
0674.最长连续递增序列 | 11 months ago | |
0677.键值映射 | 11 months ago | |
0682.棒球比赛 | 11 months ago | |
0684.冗余连接 | 11 months ago | |
0690.员工的重要性 | 11 months ago | |
0693.交替位二进制数 | 11 months ago | |
0695.岛屿的最大面积 | 11 months ago | |
0697.数组的度 | 11 months ago | |
0700.二叉搜索树中的搜索 | 4 months ago | |
0701.二叉搜索树中的插入操作 | 3 months ago | |
0702.搜索长度未知的有序数组 | 11 months ago | |
0704.二分查找 | 11 months ago | |
0705.设计哈希集合 | 11 months ago | |
0706.设计哈希映射 | 11 months ago | |
0709.转换成小写字母 | 11 months ago | |
0714.买卖股票的最佳时机含手续费 | 8 months ago | |
0724.寻找数组的中心索引 | 11 months ago | |
0725.分隔链表 | 11 months ago | |
0728.自除数 | 11 months ago | |
0733.图像渲染 | 11 months ago | |
0739.每日温度 | 11 months ago | |
0744.寻找比目标字母大的最小字母 | 11 months ago | |
0746.使用最小花费爬楼梯 | 11 months ago | |
0747.至少是其他数字两倍的最大数 | 11 months ago | |
0748.最短完整词 | 11 months ago | |
0752.打开转盘锁 | 11 months ago | |
0760.找出变位映射 | 2 months ago | |
0762.二进制表示中质数个计算置位 | 11 months ago | |
0763.划分字母区间 | 2 months ago | |
0771.宝石与石头 | 2 months ago | |
0780.到达终点 | 7 months ago | |
0783.二叉搜索树结点最小距离 | 11 months ago | |
0784.字母大小写全排列 | 11 months ago | |
0788.旋转数字 | 11 months ago | |
0791.自定义字符串排序 | 11 months ago | |
0792.匹配子序列的单词数 | 5 months ago | |
0796.旋转字符串 | 11 months ago | |
0797.所有可能的路径 | 11 months ago | |
0804.唯一摩尔斯密码词 | 11 months ago | |
0807.保持城市天际线 | 11 months ago | |
0809.情感丰富的文字 | 5 months ago | |
0811.子域名访问计数 | 11 months ago | |
0814.二叉树剪枝 | 4 months ago | |
0817.链表组件 | 9 months ago | |
0820.单词的压缩编码 | 25 days ago | |
0821.字符的最短距离 | 11 months ago | |
0824.山羊拉丁文 | 11 months ago | |
0830.较大分组的位置 | 11 months ago | |
0832.翻转图像 | 11 months ago | |
0836.矩形重叠 | last month | |
0840.矩阵中的幻方 | 11 months ago | |
0841.钥匙和房间 | 11 months ago | |
0844.比较含退格的字符串 | 11 months ago | |
0845.数组中的最长山脉 | 4 months ago | |
0849.到最近的人的最大距离 | 11 months ago | |
0852.山脉数组的峰顶索引 | 11 months ago | |
0856.括号的分数 | 11 months ago | |
0860.柠檬水找零 | 11 months ago | |
0867.转置矩阵 | 11 months ago | |
0868.二进制间距 | 11 months ago | |
0872.叶子相似的树 | 11 months ago | |
0875.爱吃香蕉的珂珂 | 11 months ago | |
0876.链表的中间结点 | 11 months ago | |
0877.石子游戏 | 11 months ago | |
0883.三维形体投影面积 | 11 months ago | |
0884.两句话中的不常见单词 | 11 months ago | |
0888.公平的糖果交换 | 11 months ago | |
0889.根据前序和后序遍历构造二叉树 | 11 months ago | |
0896.单调数列 | 11 months ago | |
0897.递增顺序查找树 | 3 months ago | |
0905.按奇偶排序数组 | 3 months ago | |
0908.最小差值I | 11 months ago | |
0912.排序数组 | 11 months ago | |
0914.卡牌分组 | 25 days ago | |
0915.分割数组 | 11 months ago | |
0917.仅仅反转字母 | 11 months ago | |
0921.使括号有效的最少添加 | 3 months ago | |
0922.按奇偶排序数组II | 11 months ago | |
0929.独特的电子邮件地址 | 11 months ago | |
0931.下降路径最小和 | 11 months ago | |
0933.最近的请求次数 | 11 months ago | |
0937.重新排列日志文件 | 11 months ago | |
0938.二叉搜索树的范围和 | 11 months ago | |
0941.有效的山脉数组 | 11 months ago | |
0942.增减字符串匹配 | 11 months ago | |
0944.删列造序 | 11 months ago | |
0946.验证栈序列 | 2 months ago | |
0951.翻转等价二叉树 | 3 months ago | |
0961.重复N次的元素 | 11 months ago | |
0965.单值二叉树 | 3 months ago | |
0969.煎饼排序 | 11 months ago | |
0970.强整数 | 11 months ago | |
0973.最接近原点的K个点 | 11 months ago | |
0974.和可被K整除的子数组 | 11 months ago | |
0976.三角形的最大周长 | 11 months ago | |
0977.有序数组的平方 | 11 months ago | |
0979.在二叉树中分配硬币 | 3 months ago | |
0985.查询后的偶数和 | 11 months ago | |
0986.区间列表的交集 | 11 months ago | |
0989.数组形式的整数加法 | 11 months ago | |
0991.坏了的计算器 | 11 months ago | |
0993.二叉树的堂兄弟节点 | 11 months ago | |
0994.腐烂的橘子 | 2 months ago | |
0997.找到小镇的法官 | 11 months ago | |
0998.最大二叉树II | 11 months ago | |
0999.车的可用捕获量 | 11 months ago | |
1002.查找常用字符 | 11 months ago | |
1003.检查替换后的词是否有效 | 11 months ago | |
1004.最大连续1的个数III | 11 months ago | |
1005.K次取反后最大化的数组和 | 11 months ago | |
1006.笨阶乘 | 11 months ago | |
1007.行相等的最少多米诺旋转 | 11 months ago | |
1008.先序遍历构造二叉树 | 4 months ago | |
1009.十进制整数的反码 | 11 months ago | |
1010.总持续时间可被60整除的歌曲 | 11 months ago | |
1011.在D天内送达包裹的能力 | 11 months ago | |
1013.将数组分成和相等的三个部分 | 21 days ago | |
1014.最佳观光组合 | 8 months ago | |
1015.可被K整除的最小整数 | 11 months ago | |
1016.子串能表示从1到N数字的二进制串 | 11 months ago | |
1017.负二进制转换 | 11 months ago | |
1018.可被5整除的二进制前缀 | 11 months ago | |
1019.链表中的下一个更大节点 | 11 months ago | |
1020.飞地的数量 | 11 months ago | |
1021.删除最外层的括号 | 11 months ago | |
1022.从根到叶的二进制数之和 | 11 months ago | |
1023.驼峰式匹配 | 11 months ago | |
1024.视频拼接 | 11 months ago | |
1025.除数博弈 | 11 months ago | |
1026.节点与其祖先之间的最大差值 | 11 months ago | |
1027.最长等差数列 | 11 months ago | |
1028.从先序遍历还原二叉树 | 11 months ago | |
1029.两地调度 | 11 months ago | |
1030.距离顺序排列矩阵单元格 | 11 months ago | |
1031.两个非重叠子数组的最大和 | 11 months ago | |
1033.移动石子直到连续 | 11 months ago | |
1034.边框着色 | 11 months ago | |
1035.不相交的线 | 11 months ago | |
1037.有效的回旋镖 | 11 months ago | |
1038.从二叉搜索树到更大和树 | 11 months ago | |
1041.困于环中的机器人 | 11 months ago | |
1042.不邻接植花 | 11 months ago | |
1043.分隔数组以得到最大和 | 11 months ago | |
1044.最长重复子串 | 11 months ago | |
1051.高度检查器 | 11 months ago | |
1052.爱生气的书店老板 | 11 months ago | |
1053.交换一次的先前排列 | 11 months ago | |
1054.距离相等的条形码 | 11 months ago | |
1055.形成字符串的最短路径 | 5 months ago | |
1071.字符串的最大公因子 | last month | |
1078.Bigram分词 | 10 months ago | |
1085.最小元素各数位之和 | 10 months ago | |
1086.前五科的均分 | 10 months ago | |
1087.字母切换 | 10 months ago | |
1089.复写零 | 10 months ago | |
1090.受标签影响的最大值 | 10 months ago | |
1091.二进制矩阵中的最短路径 | 10 months ago | |
1092.最短公共超序列 | 10 months ago | |
1093.大样本统计 | 8 months ago | |
1094.拼车 | 8 months ago | |
1095.山脉数组中查找目标值 | 8 months ago | |
1103.二叉树寻路 | 10 months ago | |
1103.分糖果II | 2 months ago | |
1104.二叉树寻路 | 3 months ago | |
1104.分糖果II | 10 months ago | |
1105.填充书架 | 10 months ago | |
1106.解析布尔表达式 | 10 months ago | |
1111.有效括号的嵌套深度 | 20 days ago | |
1115.交替打印FooBar | 9 months ago | |
1118.一月有多少天 | 8 months ago | |
1119.删去字符串中的元音 | 9 months ago | |
1120.子树的最大平均值 | 9 months ago | |
1121.将数组分成几个递增序列 | 9 months ago | |
1136.平行课程 | 2 months ago | |
1144.递减元素使数组呈锯齿状 | 9 months ago | |
1145.二叉树着色游戏 | 9 months ago | |
1146.快照数组 | 9 months ago | |
1147.段式回文 | 9 months ago | |
1150.检查一个数是否在数组中占绝大多数 | 8 months ago | |
1152.用户网站访问行为分析 | 8 months ago | |
1153.字符串转化 | 8 months ago | |
1154.一年中的第几天 | 8 months ago | |
1155.掷骰子的N种方法 | 8 months ago | |
1156.单字符重复子串的最大长度 | 8 months ago | |
1160.拼写单词 | last month | |
1161.最大层内元素和 | 5 months ago | |
1162.地图分析 | 24 days ago | |
1165.单行键盘 | 8 months ago | |
1166.设计文件系统 | 8 months ago | |
1167.连接棒材的最低费用 | 8 months ago | |
1168.水资源分配优化 | 8 months ago | |
1169.查询无效交易 | 8 months ago | |
1170.比较字符串最小字母出现频次 | 8 months ago | |
1171.从链表中删去总和值为零的连续节点 | 8 months ago | |
1172.餐盘栈 | 8 months ago | |
1180.统计只含单一字母的子串 | 5 months ago | |
1192.查找集群内的「关键连接」 | 5 months ago | |
1196.最多可以买到的苹果数量 | 5 months ago | |
1198.找出所有行中最小公共元素 | 5 months ago | |
1207.独一无二的出现次数 | 5 months ago | |
1213.三个有序数组的交集 | 5 months ago | |
1221.分割平衡字符串 | 5 months ago | |
1228.等差数列中缺失的数字 | 5 months ago | |
1229.安排会议日程 | 5 months ago | |
1230.抛掷硬币 | 5 months ago | |
1231.分享巧克力 | 5 months ago | |
1232.缀点成线 | 5 months ago | |
1243.数组变换 | 5 months ago | |
1244.力扣排行榜 | 5 months ago | |
1245.树的直径 | 5 months ago | |
1247.交换字符使得字符串相同 | 5 months ago | |
1248.统计「优美子数组」 | 5 months ago | |
1249.移除无效的括号 | 5 months ago | |
1250.检查「好数组」 | 5 months ago | |
1252.奇数值单元格的数目 | 5 months ago | |
1254.统计封闭岛屿的数目 | 5 months ago | |
1255.得分最高的单词集合 | 5 months ago | |
1266.访问所有点的最小时间 | 5 months ago | |
1267.统计参与通信的服务器 | 5 months ago | |
1268.搜索推荐系统 | 5 months ago | |
1269.停在原地的方案数 | 5 months ago | |
1275.找出井字棋的获胜者 | 5 months ago | |
1276.不浪费原料的汉堡制作方案 | 5 months ago | |
1277.统计全为1的正方形子矩阵 | 4 months ago | |
1318.或运算的最小翻转次数 | 3 months ago | |
1319.连通网络的操作次数 | 3 months ago | |
1323.6和9组成的最大数字 | 3 months ago | |
1324.竖直打印单词 | 3 months ago | |
1325.删除给定值的叶子节点 | 3 months ago | |
1326.灌溉花园的最少水龙头数目 | 3 months ago | |
1328.破坏回文串 | 3 months ago | |
1329.将矩阵按对角线排序 | 3 months ago | |
1331.数组序号转换 | 3 months ago | |
1332.删除回文子序列 | 3 months ago | |
1333.餐厅过滤器 | 3 months ago | |
1334.阈值距离内邻居最少的城市 | 3 months ago | |
1337.方阵中战斗力最弱的K行 | 2 months ago | |
1338.数组大小减半 | 2 months ago | |
1339.分裂二叉树的最大乘积 | 2 months ago | |
1340.跳跃游戏V | 2 months ago | |
1342.将数字变成0的操作次数 | 2 months ago | |
1343.大小为K且平均值大于等于阈值的子数组数目 | 2 months ago | |
1344.时钟指针的夹角 | 2 months ago | |
1345.跳跃游戏IV | 2 months ago | |
1346.检查整数及其两倍数是否存在 | 2 months ago | |
1347.制造字母异位词的最小步骤数 | 2 months ago | |
1351.统计有序矩阵中的负数 | 2 months ago | |
1352.最后K个数的乘积 | 2 months ago | |
1353.最多可以参加的会议数目 | 2 months ago | |
1354.多次求和构造目标数组 | 2 months ago | |
1374.生成每种字符都是奇数个的字符串 | last month | |
1375.灯泡开关III | last month | |
1376.通知所有员工所需的时间 | last month | |
1377.T秒后青蛙的位置 | last month | |
1380.矩阵中的幸运数 | last month | |
1381.设计一个支持增量操作的栈 | last month | |
1382.将二叉搜索树变平衡 | last month | |
1383.最大的团队表现值 | last month | |
1389.按既定顺序创建目标数组 | 25 days ago | |
1390.四因数 | 25 days ago | |
1391.检查网格中是否存在有效路径 | 25 days ago | |
1392.最长快乐前缀 | 25 days ago | |
面试题 01.09.字符串轮转 | 20 days ago | |
面试题 02.01.移除重复节点 | 20 days ago | |
面试题 02.02.返回倒数第k个节点 | 20 days ago | |
面试题 02.03.删除中间节点 | 20 days ago | |
面试题 10.01.合并排序的数组 | 2 months ago | |
面试题 16.07.最大数值 | last month | |
面试题 17.01.不用加号的加法 | last month | |
面试题01.01.判定字符是否唯一 | 2 months ago | |
面试题01.06.字符串压缩 | last month | |
面试题01.08.零矩阵 | last month | |
面试题03.数组中重复的数字 | 2 months ago | |
面试题10.01.合并排序的数组 | 2 months ago | |
面试题27.二叉树的镜像 | 2 months ago | |
面试题28.对称的二叉树 | 2 months ago | |
面试题29.顺时针打印矩阵 | 2 months ago | |
面试题30.包含min函数的栈 | 2 months ago | |
面试题31.栈的压入、弹出序列 | 2 months ago | |
面试题32-I.从上到下打印二叉树 | 2 months ago | |
面试题32-II.从上到下打印二叉树II | 2 months ago | |
面试题32-III.从上到下打印二叉树III | 2 months ago | |
面试题33.二叉搜索树的后序遍历序列 | 2 months ago | |
面试题34.二叉树中和为某一值的路径 | 2 months ago | |
面试题35.复杂链表的复制 | 2 months ago | |
面试题36.二叉搜索树与双向链表 | 2 months ago | |
面试题38.字符串的排列 | 2 months ago | |
面试题39.数组中出现次数超过一半的数字 | 2 months ago | |
面试题40.最小的k个数 | last month | |
面试题42.连续子数组的最大和 | 2 months ago | |
面试题47.礼物的最大价值 | last month | |
面试题50.第一个只出现一次的字符 | last month | |
面试题52.两个链表的第一个公共节点 | last month | |
面试题53-I.在排序数组中查找数字I | last month | |
面试题53-II.0~n-1中缺失的数字 | last month | |
面试题54.二叉搜索树的第k大节点 | last month | |
面试题55-I.二叉树的深度 | last month | |
面试题57-II.和为s的连续正数序列 | 2 months ago | |
面试题57.和为s的两个数字 | last month | |
面试题58-II.左旋转字符串 | last month | |
面试题59-II.队列的最大值 | 2 months ago | |
面试题62.圆圈中最后剩下的数字 | 23 days ago | |
面试题63.股票的最大利润 | last month | |
面试题64.求1+2+…+n | last month | |
面试题65.不用加减乘除做加法 | last month | |
面试题66.构建乘积数组 | last month | |
面试题68-I.二叉搜索树的最近公共祖先 | last month | |
面试题68-II.二叉树的最近公共祖先 | last month | |
.DS_Store | 4 months ago | |
.gitattributes | 11 months ago | |
.gitignore | 11 months ago | |
LICENSE | 11 months ago | |
README.md | 5 months ago | |
README.md的替身 | 5 months ago |
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】凌霞软件回馈社区,博客园 & 1Panel & Halo 联合会员上线
【推荐】抖音旗下AI助手豆包,你的智能百科全书,全免费不限次数
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步