跳至主要內容

字符串


字符串

全部标签

数据结构

数组 矩阵 链表 双向链表 单调栈 队列 单调队列 堆(优先队列) 哈希表 字符串 字符串匹配 二叉树 二叉搜索树 最小生成树 有序集合 拓扑排序 最短路 强连通分量 欧拉回路 双连通分量 并查集 字典树 线段树 树状数组 后缀数组

算法

枚举 递归 分治 回溯 贪心 动态规划 排序 桶排序 计数排序 基数排序 归并排序 快速选择 二分查找 记忆化搜索 深度优先搜索 广度优先搜索 双指针 位运算 前缀和 计数 滑动窗口 状态压缩 哈希函数 滚动哈希 扫描线

其他

数学 数论 几何 博弈 模拟 组合数学 随机化 概率与统计 水塘抽样 拒绝采样 数据库 设计 数据流 脑筋急转弯 交互 迭代器 多线程


题号标题题解标签难度力扣
3无重复字符的最长子串[✓]哈希表 字符串 滑动窗口🟠🀄️open in new window 🔗open in new window
5最长回文子串[✓]双指针 字符串 动态规划🟠🀄️open in new window 🔗open in new window
6Z 字形变换[✓]字符串🟠🀄️open in new window 🔗open in new window
8字符串转换整数 (atoi)[✓]字符串🟠🀄️open in new window 🔗open in new window
10正则表达式匹配[✓]递归 字符串 动态规划🔴🀄️open in new window 🔗open in new window
12整数转罗马数字[✓]哈希表 数学 字符串🟠🀄️open in new window 🔗open in new window
13罗马数字转整数[✓]哈希表 数学 字符串🟢🀄️open in new window 🔗open in new window
14最长公共前缀[✓]字典树 字符串🟢🀄️open in new window 🔗open in new window
17电话号码的字母组合[✓]哈希表 字符串 回溯🟠🀄️open in new window 🔗open in new window
20有效的括号[✓] 字符串🟢🀄️open in new window 🔗open in new window
22括号生成[✓]字符串 动态规划 回溯🟠🀄️open in new window 🔗open in new window
28找出字符串中第一个匹配项的下标[✓]双指针 字符串 字符串匹配🟢🀄️open in new window 🔗open in new window
30串联所有单词的子串[✓]哈希表 字符串 滑动窗口🔴🀄️open in new window 🔗open in new window
32最长有效括号[✓] 字符串 动态规划🔴🀄️open in new window 🔗open in new window
38外观数列[✓]字符串🟠🀄️open in new window 🔗open in new window
43字符串相乘[✓]数学 字符串 模拟🟠🀄️open in new window 🔗open in new window
44通配符匹配[✓]贪心 递归 字符串 1+🔴🀄️open in new window 🔗open in new window
49字母异位词分组[✓]数组 哈希表 字符串 1+🟠🀄️open in new window 🔗open in new window
58最后一个单词的长度[✓]字符串🟢🀄️open in new window 🔗open in new window
65有效数字字符串🔴🀄️open in new window 🔗open in new window
67二进制求和[✓]位运算 数学 字符串 1+🟢🀄️open in new window 🔗open in new window
68文本左右对齐[✓]数组 字符串 模拟🔴🀄️open in new window 🔗open in new window
71简化路径[✓] 字符串🟠🀄️open in new window 🔗open in new window
72编辑距离[✓]字符串 动态规划🟠🀄️open in new window 🔗open in new window
76最小覆盖子串[✓]哈希表 字符串 滑动窗口🔴🀄️open in new window 🔗open in new window
79单词搜索[✓]数组 字符串 回溯 1+🟠🀄️open in new window 🔗open in new window
87扰乱字符串字符串 动态规划🔴🀄️open in new window 🔗open in new window
91解码方法字符串 动态规划🟠🀄️open in new window 🔗open in new window
93复原 IP 地址[✓]字符串 回溯🟠🀄️open in new window 🔗open in new window
97交错字符串[✓]字符串 动态规划🟠🀄️open in new window 🔗open in new window
115不同的子序列字符串 动态规划🔴🀄️open in new window 🔗open in new window
125验证回文串[✓]双指针 字符串🟢🀄️open in new window 🔗open in new window
126单词接龙 II广度优先搜索 哈希表 字符串 1+🔴🀄️open in new window 🔗open in new window
127单词接龙[✓]广度优先搜索 哈希表 字符串🔴🀄️open in new window 🔗open in new window
131分割回文串[✓]字符串 动态规划 回溯🟠🀄️open in new window 🔗open in new window
132分割回文串 II字符串 动态规划🔴🀄️open in new window 🔗open in new window
139单词拆分[✓]字典树 记忆化搜索 数组 3+🟠🀄️open in new window 🔗open in new window
140单词拆分 II字典树 记忆化搜索 数组 4+🔴🀄️open in new window 🔗open in new window
151反转字符串中的单词[✓]双指针 字符串🟠🀄️open in new window 🔗open in new window
159至多包含两个不同字符的最长子串 🔒哈希表 字符串 滑动窗口🟠🀄️open in new window 🔗open in new window
161相隔为 1 的编辑距离 🔒双指针 字符串🟠🀄️open in new window 🔗open in new window
165比较版本号双指针 字符串🟠🀄️open in new window 🔗open in new window
166分数到小数哈希表 数学 字符串🟠🀄️open in new window 🔗open in new window
168Excel 表列名称数学 字符串🟢🀄️open in new window 🔗open in new window
171Excel 表列序号数学 字符串🟢🀄️open in new window 🔗open in new window
179最大数贪心 数组 字符串 1+🟠🀄️open in new window 🔗open in new window
186反转字符串中的单词 II 🔒双指针 字符串🟠🀄️open in new window 🔗open in new window
187重复的DNA序列位运算 哈希表 字符串 3+🟠🀄️open in new window 🔗open in new window
205同构字符串[✓]哈希表 字符串🟢🀄️open in new window 🔗open in new window
208实现 Trie (前缀树)[✓]设计 字典树 哈希表 1+🟠🀄️open in new window 🔗open in new window
211添加与搜索单词 - 数据结构设计[✓]深度优先搜索 设计 字典树 1+🟠🀄️open in new window 🔗open in new window
212单词搜索 II[✓]字典树 数组 字符串 2+🔴🀄️open in new window 🔗open in new window
214最短回文串字符串 字符串匹配 哈希函数 1+🔴🀄️open in new window 🔗open in new window
224基本计算器[✓] 递归 数学 1+🔴🀄️open in new window 🔗open in new window
227基本计算器 II[✓] 数学 字符串🟠🀄️open in new window 🔗open in new window
241为运算表达式设计优先级递归 记忆化搜索 数学 2+🟠🀄️open in new window 🔗open in new window
242有效的字母异位词[✓]哈希表 字符串 排序🟢🀄️open in new window 🔗open in new window
243最短单词距离 🔒数组 字符串🟢🀄️open in new window 🔗open in new window
244最短单词距离 II 🔒设计 数组 哈希表 2+🟠🀄️open in new window 🔗open in new window
245最短单词距离 III 🔒数组 字符串🟠🀄️open in new window 🔗open in new window
246中心对称数 🔒哈希表 双指针 字符串🟢🀄️open in new window 🔗open in new window
247中心对称数 II 🔒递归 数组 字符串🟠🀄️open in new window 🔗open in new window
248中心对称数 III 🔒递归 数组 字符串🔴🀄️open in new window 🔗open in new window
249移位字符串分组 🔒数组 哈希表 字符串🟠🀄️open in new window 🔗open in new window
257二叉树的所有路径[✓] 深度优先搜索 字符串 2+🟢🀄️open in new window 🔗open in new window
266回文排列 🔒位运算 哈希表 字符串🟢🀄️open in new window 🔗open in new window
267回文排列 II 🔒哈希表 字符串 回溯🟠🀄️open in new window 🔗open in new window
269火星词典 🔒深度优先搜索 广度优先搜索 3+🔴🀄️open in new window 🔗open in new window
271字符串的编码与解码 🔒设计 数组 字符串🟠🀄️open in new window 🔗open in new window
273整数转换英文表示递归 数学 字符串🔴🀄️open in new window 🔗open in new window
282给表达式添加运算符数学 字符串 回溯🔴🀄️open in new window 🔗open in new window
288单词的唯一缩写 🔒设计 数组 哈希表 1+🟠🀄️open in new window 🔗open in new window
290单词规律[✓]哈希表 字符串🟢🀄️open in new window 🔗open in new window
291单词规律 II 🔒哈希表 字符串 回溯🟠🀄️open in new window 🔗open in new window
293翻转游戏 🔒字符串🟢🀄️open in new window 🔗open in new window
297二叉树的序列化与反序列化[✓] 深度优先搜索 广度优先搜索 3+🔴🀄️open in new window 🔗open in new window
299猜数字游戏哈希表 字符串 计数🟠🀄️open in new window 🔗open in new window
301删除无效的括号广度优先搜索 字符串 回溯🔴🀄️open in new window 🔗open in new window
306累加数字符串 回溯🟠🀄️open in new window 🔗open in new window
316去除重复字母[✓] 贪心 字符串 1+🟠🀄️open in new window 🔗open in new window
318最大单词长度乘积位运算 数组 字符串🟠🀄️open in new window 🔗open in new window
320列举单词的全部缩写 🔒位运算 字符串 回溯🟠🀄️open in new window 🔗open in new window
331验证二叉树的前序序列化 字符串 1+🟠🀄️open in new window 🔗open in new window
336回文对字典树 数组 哈希表 1+🔴🀄️open in new window 🔗open in new window
340至多包含 K 个不同字符的最长子串 🔒哈希表 字符串 滑动窗口🟠🀄️open in new window 🔗open in new window
344反转字符串[✓]双指针 字符串🟢🀄️open in new window 🔗open in new window
345反转字符串中的元音字母[✓]双指针 字符串🟢🀄️open in new window 🔗open in new window
358K 距离间隔重排字符串 🔒贪心 哈希表 字符串 3+🔴🀄️open in new window 🔗open in new window
383赎金信[✓]哈希表 字符串 计数🟢🀄️open in new window 🔗open in new window
385迷你语法分析器 深度优先搜索 字符串🟠🀄️open in new window 🔗open in new window
387字符串中的第一个唯一字符队列 哈希表 字符串 1+🟢🀄️open in new window 🔗open in new window
388文件的最长绝对路径 深度优先搜索 字符串🟠🀄️open in new window 🔗open in new window
389找不同位运算 哈希表 字符串 1+🟢🀄️open in new window 🔗open in new window
392判断子序列[✓]双指针 字符串 动态规划🟢🀄️open in new window 🔗open in new window
394字符串解码[✓] 递归 字符串🟠🀄️open in new window 🔗open in new window
395至少有 K 个重复字符的最长子串哈希表 字符串 分治 1+🟠🀄️open in new window 🔗open in new window
399除法求值[✓]深度优先搜索 广度优先搜索 并查集 4+🟠🀄️open in new window 🔗open in new window
402移掉 K 位数字 贪心 字符串 1+🟠🀄️open in new window 🔗open in new window
408有效单词缩写 🔒双指针 字符串🟢🀄️open in new window 🔗open in new window
409最长回文串贪心 哈希表 字符串🟢🀄️open in new window 🔗open in new window
411最短独占单词缩写 🔒位运算 数组 字符串 1+🔴🀄️open in new window 🔗open in new window
412Fizz Buzz数学 字符串 模拟🟢🀄️open in new window 🔗open in new window
415字符串相加[✓]数学 字符串 模拟🟢🀄️open in new window 🔗open in new window
418屏幕可显示句子的数量 🔒数组 字符串 动态规划🟠🀄️open in new window 🔗open in new window
420强密码检验器贪心 字符串 堆(优先队列)🔴🀄️open in new window 🔗open in new window
423从英文中重建数字哈希表 数学 字符串🟠🀄️open in new window 🔗open in new window
424替换后的最长重复字符哈希表 字符串 滑动窗口🟠🀄️open in new window 🔗open in new window
425单词方块 🔒字典树 数组 字符串 1+🔴🀄️open in new window 🔗open in new window
428序列化和反序列化 N 叉树 🔒 深度优先搜索 广度优先搜索 1+🔴🀄️open in new window 🔗open in new window
433最小基因变化[✓]广度优先搜索 哈希表 字符串🟠🀄️open in new window 🔗open in new window
434字符串中的单词数字符串🟢🀄️open in new window 🔗open in new window
438找到字符串中所有字母异位词[✓]哈希表 字符串 滑动窗口🟠🀄️open in new window 🔗open in new window
439三元表达式解析器 🔒 递归 字符串🟠🀄️open in new window 🔗open in new window
443压缩字符串[✓]双指针 字符串🟠🀄️open in new window 🔗open in new window
449序列化和反序列化二叉搜索树 深度优先搜索 广度优先搜索 4+🟠🀄️open in new window 🔗open in new window
451根据字符出现频率排序[✓]哈希表 字符串 桶排序 3+🟠🀄️open in new window 🔗open in new window
459重复的子字符串[✓]字符串 字符串匹配🟢🀄️open in new window 🔗open in new window
466统计重复个数字符串 动态规划🔴🀄️open in new window 🔗open in new window
467环绕字符串中唯一的子字符串字符串 动态规划🟠🀄️open in new window 🔗open in new window
468验证IP地址字符串🟠🀄️open in new window 🔗open in new window
471编码最短长度的字符串 🔒字符串 动态规划🔴🀄️open in new window 🔗open in new window
472连接词深度优先搜索 字典树 数组 2+🔴🀄️open in new window 🔗open in new window
474一和零[✓]数组 字符串 动态规划🟠🀄️open in new window 🔗open in new window
481神奇字符串双指针 字符串🟠🀄️open in new window 🔗open in new window
482密钥格式化字符串🟢🀄️open in new window 🔗open in new window
484寻找排列 🔒 贪心 数组 1+🟠🀄️open in new window 🔗open in new window
488祖玛游戏 广度优先搜索 记忆化搜索 2+🔴🀄️open in new window 🔗open in new window
499迷宫 III 🔒深度优先搜索 广度优先搜索 5+🔴🀄️open in new window 🔗open in new window
500键盘行数组 哈希表 字符串🟢🀄️open in new window 🔗open in new window
514自由之路[✓]深度优先搜索 广度优先搜索 字符串 1+🔴🀄️open in new window 🔗open in new window
516最长回文子序列[✓]字符串 动态规划🟠🀄️open in new window 🔗open in new window
520检测大写字母字符串🟢🀄️open in new window 🔗open in new window
521最长特殊序列 Ⅰ字符串🟢🀄️open in new window 🔗open in new window
522最长特殊序列 II数组 哈希表 双指针 2+🟠🀄️open in new window 🔗open in new window
524通过删除字母匹配到字典里最长单词数组 双指针 字符串 1+🟠🀄️open in new window 🔗open in new window
527单词缩写 🔒贪心 字典树 数组 2+🔴🀄️open in new window 🔗open in new window
535TinyURL 的加密与解密设计 哈希表 字符串 1+🟠🀄️open in new window 🔗open in new window
536从字符串生成二叉树 🔒 深度优先搜索 2+🟠🀄️open in new window 🔗open in new window
537复数乘法数学 字符串 模拟🟠🀄️open in new window 🔗open in new window
539最小时间差数组 数学 字符串 1+🟠🀄️open in new window 🔗open in new window
541反转字符串 II双指针 字符串🟢🀄️open in new window 🔗open in new window
544输出比赛匹配对 🔒递归 字符串 模拟🟠🀄️open in new window 🔗open in new window
551学生出勤记录 I字符串🟢🀄️open in new window 🔗open in new window
555分割连接字符串 🔒贪心 数组 字符串🟠🀄️open in new window 🔗open in new window
556下一个更大元素 III数学 双指针 字符串🟠🀄️open in new window 🔗open in new window
557反转字符串中的单词 III[✓]双指针 字符串🟢🀄️open in new window 🔗open in new window
564寻找最近的回文数数学 字符串🔴🀄️open in new window 🔗open in new window
567字符串的排列[✓]哈希表 双指针 字符串 1+🟠🀄️open in new window 🔗open in new window
583两个字符串的删除操作[✓]字符串 动态规划🟠🀄️open in new window 🔗open in new window
588设计内存文件系统 🔒设计 字典树 哈希表 2+🔴🀄️open in new window 🔗open in new window
591标签验证器 字符串🔴🀄️open in new window 🔗open in new window
592分数加减运算数学 字符串 模拟🟠🀄️open in new window 🔗open in new window
599两个列表的最小索引总和数组 哈希表 字符串🟢🀄️open in new window 🔗open in new window
604迭代压缩字符串 🔒设计 数组 字符串 1+🟢🀄️open in new window 🔗open in new window
606根据二叉树创建字符串 深度优先搜索 字符串 1+🟠🀄️open in new window 🔗open in new window
609在系统中查找重复文件数组 哈希表 字符串🟠🀄️open in new window 🔗open in new window
616给字符串添加加粗标签 🔒字典树 数组 哈希表 2+🟠🀄️open in new window 🔗open in new window
635设计日志存储系统 🔒设计 哈希表 字符串 1+🟠🀄️open in new window 🔗open in new window
639解码方法 II字符串 动态规划🔴🀄️open in new window 🔗open in new window
640求解方程数学 字符串 模拟🟠🀄️open in new window 🔗open in new window
642设计搜索自动补全系统 🔒深度优先搜索 设计 字典树 4+🔴🀄️open in new window 🔗open in new window
647回文子串双指针 字符串 动态规划🟠🀄️open in new window 🔗open in new window
648单词替换字典树 数组 哈希表 1+🟠🀄️open in new window 🔗open in new window
649Dota2 参议院[✓]贪心 队列 字符串🟠🀄️open in new window 🔗open in new window
657机器人能否返回原点字符串 模拟🟢🀄️open in new window 🔗open in new window
664奇怪的打印机字符串 动态规划🔴🀄️open in new window 🔗open in new window
676实现一个魔法字典深度优先搜索 设计 字典树 2+🟠🀄️open in new window 🔗open in new window
677键值映射设计 字典树 哈希表 1+🟠🀄️open in new window 🔗open in new window
678有效的括号字符串[✓] 贪心 字符串 1+🟠🀄️open in new window 🔗open in new window
680验证回文串 II贪心 双指针 字符串🟢🀄️open in new window 🔗open in new window
681最近时刻 🔒哈希表 字符串 回溯 1+🟠🀄️open in new window 🔗open in new window
686重复叠加字符串匹配字符串 字符串匹配🟠🀄️open in new window 🔗open in new window
691贴纸拼词位运算 数组 字符串 3+🔴🀄️open in new window 🔗open in new window
692前K个高频单词字典树 哈希表 字符串 4+🟠🀄️open in new window 🔗open in new window
696计数二进制子串双指针 字符串🟢🀄️open in new window 🔗open in new window
709转换成小写字母字符串🟢🀄️open in new window 🔗open in new window
712两个字符串的最小ASCII删除和[✓]字符串 动态规划🟠🀄️open in new window 🔗open in new window
720词典中最长的单词字典树 数组 哈希表 2+🟠🀄️open in new window 🔗open in new window
721账户合并深度优先搜索 广度优先搜索 并查集 4+🟠🀄️open in new window 🔗open in new window
722删除注释数组 字符串🟠🀄️open in new window 🔗open in new window
726原子的数量 哈希表 字符串 1+🔴🀄️open in new window 🔗open in new window
727最小窗口子序列 🔒字符串 动态规划 滑动窗口🔴🀄️open in new window 🔗open in new window
730统计不同回文子序列字符串 动态规划🔴🀄️open in new window 🔗open in new window
734句子相似性 🔒数组 哈希表 字符串🟢🀄️open in new window 🔗open in new window
736Lisp 语法解析 递归 哈希表 1+🔴🀄️open in new window 🔗open in new window
737句子相似性 II 🔒深度优先搜索 广度优先搜索 并查集 3+🟠🀄️open in new window 🔗open in new window
745前缀和后缀搜索设计 字典树 数组 2+🔴🀄️open in new window 🔗open in new window
748最短补全词数组 哈希表 字符串🟢🀄️open in new window 🔗open in new window
751IP 到 CIDR 🔒位运算 字符串🟠🀄️open in new window 🔗open in new window
752打开转盘锁广度优先搜索 数组 哈希表 1+🟠🀄️open in new window 🔗open in new window
758字符串中的加粗单词 🔒字典树 数组 哈希表 2+🟠🀄️open in new window 🔗open in new window
761特殊的二进制序列递归 字符串🔴🀄️open in new window 🔗open in new window
763划分字母区间[✓]贪心 哈希表 双指针 1+🟠🀄️open in new window 🔗open in new window
767重构字符串贪心 哈希表 字符串 3+🟠🀄️open in new window 🔗open in new window
770基本计算器 IV 递归 哈希表 2+🔴🀄️open in new window 🔗open in new window
771宝石与石头哈希表 字符串🟢🀄️open in new window 🔗open in new window
772基本计算器 III 🔒[✓] 递归 数学 1+🔴🀄️open in new window 🔗open in new window
777在LR字符串中交换相邻字符双指针 字符串🟠🀄️open in new window 🔗open in new window
784字母大小写全排列位运算 字符串 回溯🟠🀄️open in new window 🔗open in new window
791自定义字符串排序哈希表 字符串 排序🟠🀄️open in new window 🔗open in new window
792匹配子序列的单词数字典树 数组 哈希表 4+🟠🀄️open in new window 🔗open in new window
796旋转字符串[✓]字符串 字符串匹配🟢🀄️open in new window 🔗open in new window
800相似 RGB 颜色 🔒数学 字符串 枚举🟢🀄️open in new window 🔗open in new window
804唯一摩尔斯密码词数组 哈希表 字符串🟢🀄️open in new window 🔗open in new window
806写字符串需要的行数数组 字符串🟢🀄️open in new window 🔗open in new window
809情感丰富的文字数组 双指针 字符串🟠🀄️open in new window 🔗open in new window
811子域名访问计数数组 哈希表 字符串 1+🟠🀄️open in new window 🔗open in new window
816模糊坐标字符串 回溯 枚举🟠🀄️open in new window 🔗open in new window
819最常见的单词数组 哈希表 字符串 1+🟢🀄️open in new window 🔗open in new window
820单词的压缩编码字典树 数组 哈希表 1+🟠🀄️open in new window 🔗open in new window
821字符的最短距离数组 双指针 字符串🟢🀄️open in new window 🔗open in new window
824山羊拉丁文字符串🟢🀄️open in new window 🔗open in new window
828统计子串中的唯一字符哈希表 字符串 动态规划🔴🀄️open in new window 🔗open in new window
830较大分组的位置字符串🟢🀄️open in new window 🔗open in new window
831隐藏个人信息字符串🟠🀄️open in new window 🔗open in new window
833字符串中的查找与替换数组 哈希表 字符串 1+🟠🀄️open in new window 🔗open in new window
838推多米诺双指针 字符串 动态规划🟠🀄️open in new window 🔗open in new window
839相似字符串组深度优先搜索 广度优先搜索 并查集 3+🔴🀄️open in new window 🔗open in new window
842将数组拆分成斐波那契序列字符串 回溯🟠🀄️open in new window 🔗open in new window
843猜猜这个单词数组 数学 字符串 2+🔴🀄️open in new window 🔗open in new window
844比较含退格的字符串[✓] 双指针 字符串 1+🟢🀄️open in new window 🔗open in new window
848字母移位数组 字符串 前缀和🟠🀄️open in new window 🔗open in new window
854相似度为 K 的字符串广度优先搜索 字符串🔴🀄️open in new window 🔗open in new window
856括号的分数 字符串🟠🀄️open in new window 🔗open in new window
859亲密字符串哈希表 字符串🟢🀄️open in new window 🔗open in new window
880索引处的解码字符串[✓] 字符串🟠🀄️open in new window 🔗open in new window
884两句话中的不常见单词哈希表 字符串 计数🟢🀄️open in new window 🔗open in new window
890查找和替换模式数组 哈希表 字符串🟠🀄️open in new window 🔗open in new window
893特殊等价字符串组数组 哈希表 字符串 1+🟠🀄️open in new window 🔗open in new window
899有序队列数学 字符串 排序🔴🀄️open in new window 🔗open in new window
902最大为 N 的数字组合数组 数学 字符串 2+🔴🀄️open in new window 🔗open in new window
903DI 序列的有效排列字符串 动态规划 前缀和🔴🀄️open in new window 🔗open in new window
916单词子集数组 哈希表 字符串🟠🀄️open in new window 🔗open in new window
917仅仅反转字母双指针 字符串🟢🀄️open in new window 🔗open in new window
921使括号有效的最少添加[✓] 贪心 字符串🟠🀄️open in new window 🔗open in new window
925长按键入双指针 字符串🟢🀄️open in new window 🔗open in new window
926将字符串翻转到单调递增字符串 动态规划🟠🀄️open in new window 🔗open in new window
929独特的电子邮件地址数组 哈希表 字符串🟢🀄️open in new window 🔗open in new window
936戳印序列 贪心 队列 1+🔴🀄️open in new window 🔗open in new window
937重新排列日志文件数组 字符串 排序🟠🀄️open in new window 🔗open in new window
940不同的子序列 II字符串 动态规划🔴🀄️open in new window 🔗open in new window
942增减字符串匹配贪心 数组 双指针 1+🟢🀄️open in new window 🔗open in new window
943最短超级串位运算 数组 字符串 2+🔴🀄️open in new window 🔗open in new window
944删列造序数组 字符串🟢🀄️open in new window 🔗open in new window
949给定数字能组成的最大时间数组 字符串 枚举🟠🀄️open in new window 🔗open in new window
953验证外星语词典数组 哈希表 字符串🟢🀄️open in new window 🔗open in new window
955删列造序 II贪心 数组 字符串🟠🀄️open in new window 🔗open in new window
960删列造序 III数组 字符串 动态规划🔴🀄️open in new window 🔗open in new window
966元音拼写检查器数组 哈希表 字符串🟠🀄️open in new window 🔗open in new window
972相等的有理数数学 字符串🔴🀄️open in new window 🔗open in new window
981基于时间的键值存储设计 哈希表 字符串 1+🟠🀄️open in new window 🔗open in new window
984不含 AAA 或 BBB 的字符串贪心 字符串🟠🀄️open in new window 🔗open in new window
988从叶结点开始的最小字符串 深度优先搜索 字符串 2+🟠🀄️open in new window 🔗open in new window
990等式方程的可满足性并查集 数组 1+🟠🀄️open in new window 🔗open in new window
1002查找共用字符数组 哈希表 字符串🟢🀄️open in new window 🔗open in new window
1003检查替换后的词是否有效 字符串🟠🀄️open in new window 🔗open in new window
1016子串能表示从 1 到 N 数字的二进制串字符串🟠🀄️open in new window 🔗open in new window
1021删除最外层的括号[✓] 字符串🟢🀄️open in new window 🔗open in new window
1023驼峰式匹配字典树 数组 双指针 2+🟠🀄️open in new window 🔗open in new window
1028从先序遍历还原二叉树 深度优先搜索 字符串 1+🔴🀄️open in new window 🔗open in new window
1032字符流设计 字典树 数组 2+🔴🀄️open in new window 🔗open in new window
1041困于环中的机器人数学 字符串 模拟🟠🀄️open in new window 🔗open in new window
1044最长重复子串字符串 二分查找 后缀数组 3+🔴🀄️open in new window 🔗open in new window
1047删除字符串中的所有相邻重复项[✓] 字符串🟢🀄️open in new window 🔗open in new window
1048最长字符串链数组 哈希表 双指针 3+🟠🀄️open in new window 🔗open in new window
1055形成字符串的最短路径 🔒贪心 双指针 字符串 1+🟠🀄️open in new window 🔗open in new window
1058最小化舍入误差以满足目标 🔒贪心 数组 数学 2+🟠🀄️open in new window 🔗open in new window
1061按字典序排列最小的等效字符串并查集 字符串🟠🀄️open in new window 🔗open in new window
1062最长重复子串 🔒字符串 二分查找 动态规划 3+🟠🀄️open in new window 🔗open in new window
1065字符串的索引对 🔒字典树 数组 字符串 1+🟢🀄️open in new window 🔗open in new window
1071字符串的最大公因子[✓]数学 字符串🟢🀄️open in new window 🔗open in new window
1078Bigram 分词字符串🟢🀄️open in new window 🔗open in new window
1079活字印刷哈希表 字符串 回溯 1+🟠🀄️open in new window 🔗open in new window
1081不同字符的最小子序列[✓] 贪心 字符串 1+🟠🀄️open in new window 🔗open in new window
1087花括号展开 🔒广度优先搜索 字符串 回溯🟠🀄️open in new window 🔗open in new window
1092最短公共超序列字符串 动态规划🔴🀄️open in new window 🔗open in new window
1096花括号展开 II 广度优先搜索 字符串 1+🔴🀄️open in new window 🔗open in new window
1100长度为 K 的无重复字符子串 🔒哈希表 字符串 滑动窗口🟠🀄️open in new window 🔗open in new window
1106解析布尔表达式[✓] 递归 字符串🔴🀄️open in new window 🔗open in new window
1108IP 地址无效化字符串🟢🀄️open in new window 🔗open in new window
1111有效括号的嵌套深度 字符串🟠🀄️open in new window 🔗open in new window
1119删去字符串中的元音 🔒字符串🟢🀄️open in new window 🔗open in new window
1138字母板上的路径哈希表 字符串🟠🀄️open in new window 🔗open in new window
1143最长公共子序列[✓]字符串 动态规划🟠🀄️open in new window 🔗open in new window
1147段式回文贪心 双指针 字符串 3+🔴🀄️open in new window 🔗open in new window
1153字符串转化 🔒哈希表 字符串🔴🀄️open in new window 🔗open in new window
1154一年中的第几天数学 字符串🟢🀄️open in new window 🔗open in new window
1156单字符重复子串的最大长度哈希表 字符串 滑动窗口🟠🀄️open in new window 🔗open in new window
1160拼写单词数组 哈希表 字符串 1+🟢🀄️open in new window 🔗open in new window
1163按字典序排在最后的子串双指针 字符串🔴🀄️open in new window 🔗open in new window
1165单行键盘 🔒哈希表 字符串🟢🀄️open in new window 🔗open in new window
1166设计文件系统 🔒设计 字典树 哈希表 1+🟠🀄️open in new window 🔗open in new window
1169查询无效交易数组 哈希表 字符串 1+🟠🀄️open in new window 🔗open in new window
1170比较字符串最小字母出现频次数组 哈希表 字符串 2+🟠🀄️open in new window 🔗open in new window
1177构建回文串检测位运算 数组 哈希表 2+🟠🀄️open in new window 🔗open in new window
1178猜字谜位运算 字典树 数组 2+🔴🀄️open in new window 🔗open in new window
1180统计只含单一字母的子串 🔒数学 字符串🟢🀄️open in new window 🔗open in new window
1181前后拼接 🔒数组 哈希表 字符串 1+🟠🀄️open in new window 🔗open in new window
1189“气球” 的最大数量哈希表 字符串 计数🟢🀄️open in new window 🔗open in new window
1190反转每对括号间的子串[✓] 字符串🟠🀄️open in new window 🔗open in new window
1202交换字符串中的元素深度优先搜索 广度优先搜索 并查集 4+🟠🀄️open in new window 🔗open in new window
1208尽可能使字符串相等字符串 二分查找 前缀和 1+🟠🀄️open in new window 🔗open in new window
1209删除字符串中的所有相邻重复项 II 字符串🟠🀄️open in new window 🔗open in new window
1216验证回文串 III 🔒字符串 动态规划🔴🀄️open in new window 🔗open in new window
1221分割平衡字符串贪心 字符串 计数🟢🀄️open in new window 🔗open in new window
1233删除子文件夹[✓]深度优先搜索 字典树 数组 1+🟠🀄️open in new window 🔗open in new window
1234替换子串得到平衡字符串字符串 滑动窗口🟠🀄️open in new window 🔗open in new window
1236网络爬虫 🔒深度优先搜索 广度优先搜索 字符串 1+🟠🀄️open in new window 🔗open in new window
1239串联字符串的最大长度位运算 数组 字符串 1+🟠🀄️open in new window 🔗open in new window
1247交换字符使得字符串相同贪心 数学 字符串🟠🀄️open in new window 🔗open in new window
1249移除无效的括号 字符串🟠🀄️open in new window 🔗open in new window
1255得分最高的单词集合位运算 数组 字符串 3+🔴🀄️open in new window 🔗open in new window
1256加密数字 🔒位运算 数学 字符串🟠🀄️open in new window 🔗open in new window
1257最小公共区域 🔒 深度优先搜索 广度优先搜索 3+🟠🀄️open in new window 🔗open in new window
1258近义词句子 🔒并查集 数组 哈希表 2+🟠🀄️open in new window 🔗open in new window
1268搜索推荐系统字典树 数组 字符串 3+🟠🀄️open in new window 🔗open in new window
1271十六进制魔术数字 🔒数学 字符串🟢🀄️open in new window 🔗open in new window
1278分割回文串 III字符串 动态规划🔴🀄️open in new window 🔗open in new window
1286字母组合迭代器设计 字符串 回溯 1+🟠🀄️open in new window 🔗open in new window
1297子串的最大出现次数哈希表 字符串 滑动窗口🟠🀄️open in new window 🔗open in new window
1307口算难题数组 数学 字符串 1+🔴🀄️open in new window 🔗open in new window
1309解码字母到整数映射字符串🟢🀄️open in new window 🔗open in new window
1312让字符串成为回文串的最少插入次数[✓]字符串 动态规划🔴🀄️open in new window 🔗open in new window
1316不同的循环子字符串字典树 字符串 哈希函数 1+🔴🀄️open in new window 🔗open in new window
1320二指输入的的最小距离字符串 动态规划🔴🀄️open in new window 🔗open in new window
1324竖直打印单词数组 字符串 模拟🟠🀄️open in new window 🔗open in new window
1328破坏回文串贪心 字符串🟠🀄️open in new window 🔗open in new window
1332删除回文子序列双指针 字符串🟢🀄️open in new window 🔗open in new window
1347制造字母异位词的最小步骤数哈希表 字符串 计数🟠🀄️open in new window 🔗open in new window
1358包含所有三种字符的子字符串数目哈希表 字符串 滑动窗口🟠🀄️open in new window 🔗open in new window
1360日期之间隔几天数学 字符串🟢🀄️open in new window 🔗open in new window
1366通过投票对团队排名数组 哈希表 字符串 2+🟠🀄️open in new window 🔗open in new window
1370上升下降字符串哈希表 字符串 计数🟢🀄️open in new window 🔗open in new window
1371每个元音包含偶数次的最长子字符串位运算 哈希表 字符串 1+🟠🀄️open in new window 🔗open in new window
1374生成每种字符都是奇数个的字符串字符串🟢🀄️open in new window 🔗open in new window
1392最长快乐前缀字符串 字符串匹配 哈希函数 1+🔴🀄️open in new window 🔗open in new window
1396设计地铁系统设计 哈希表 字符串🟠🀄️open in new window 🔗open in new window
1397找到所有好字符串字符串 动态规划 字符串匹配🔴🀄️open in new window 🔗open in new window
1400构造 K 个回文字符串贪心 哈希表 字符串 1+🟠🀄️open in new window 🔗open in new window
1404将二进制表示减到 1 的步骤数位运算 字符串🟠🀄️open in new window 🔗open in new window
1405最长快乐字符串[✓]贪心 字符串 堆(优先队列)🟠🀄️open in new window 🔗open in new window
1408数组中的字符串匹配数组 字符串 字符串匹配🟢🀄️open in new window 🔗open in new window
1410HTML 实体解析器哈希表 字符串🟠🀄️open in new window 🔗open in new window
1415长度为 n 的开心字符串中字典序第 k 小的字符串字符串 回溯🟠🀄️open in new window 🔗open in new window
1416恢复数组字符串 动态规划🔴🀄️open in new window 🔗open in new window
1417重新格式化字符串字符串🟢🀄️open in new window 🔗open in new window
1418点菜展示表数组 哈希表 字符串 2+🟠🀄️open in new window 🔗open in new window
1419数青蛙[✓]字符串 计数🟠🀄️open in new window 🔗open in new window
1422分割字符串的最大得分字符串 前缀和🟢🀄️open in new window 🔗open in new window
1427字符串的左右移 🔒数组 数学 字符串🟢🀄️open in new window 🔗open in new window
1433检查一个字符串是否可以打破另一个字符串贪心 字符串 排序🟠🀄️open in new window 🔗open in new window
1436旅行终点站数组 哈希表 字符串🟢🀄️open in new window 🔗open in new window
1446连续字符字符串🟢🀄️open in new window 🔗open in new window
1447最简分数数学 字符串 数论🟠🀄️open in new window 🔗open in new window
1451重新排列句子中的单词字符串 排序🟠🀄️open in new window 🔗open in new window
1452收藏清单数组 哈希表 字符串🟠🀄️open in new window 🔗open in new window
1455检查单词是否为句中其他单词的前缀双指针 字符串 字符串匹配🟢🀄️open in new window 🔗open in new window
1456定长子串中元音的最大数目[✓]字符串 滑动窗口🟠🀄️open in new window 🔗open in new window
1461检查一个字符串是否包含所有长度为 K 的二进制子串位运算 哈希表 字符串 2+🟠🀄️open in new window 🔗open in new window
1487保证文件名唯一数组 哈希表 字符串🟠🀄️open in new window 🔗open in new window
1496判断路径是否相交哈希表 字符串🟢🀄️open in new window 🔗open in new window
1505最多 K 次交换相邻数位后得到的最小整数贪心 树状数组 线段树 1+🔴🀄️open in new window 🔗open in new window
1507转变日期格式字符串🟢🀄️open in new window 🔗open in new window
1513仅含 1 的子串数数学 字符串🟠🀄️open in new window 🔗open in new window
1520最多的不重叠子字符串贪心 字符串🔴🀄️open in new window 🔗open in new window
1525字符串的好分割数目位运算 哈希表 字符串 1+🟠🀄️open in new window 🔗open in new window
1528重新排列字符串数组 字符串🟢🀄️open in new window 🔗open in new window
1529最少的后缀翻转次数贪心 字符串🟠🀄️open in new window 🔗open in new window
1531压缩字符串 II字符串 动态规划🔴🀄️open in new window 🔗open in new window
1540K 次操作转变字符串哈希表 字符串🟠🀄️open in new window 🔗open in new window
1541平衡括号字符串的最少插入次数 贪心 字符串🟠🀄️open in new window 🔗open in new window
1542找出最长的超赞子字符串位运算 哈希表 字符串🔴🀄️open in new window 🔗open in new window
1544整理字符串 字符串🟢🀄️open in new window 🔗open in new window
1545找出第 N 个二进制字符串中的第 K 位[✓]递归 字符串 模拟🟠🀄️open in new window 🔗open in new window
1554只有一个不同字符的字符串 🔒哈希表 字符串 哈希函数 1+🟠🀄️open in new window 🔗open in new window
1556千位分隔数字符串🟢🀄️open in new window 🔗open in new window
1573分割字符串的方案数数学 字符串🟠🀄️open in new window 🔗open in new window
1576替换所有的问号字符串🟢🀄️open in new window 🔗open in new window
1578使绳子变成彩色的最短时间贪心 数组 字符串 1+🟠🀄️open in new window 🔗open in new window
1585检查字符串是否可以通过排序子字符串得到另一个字符串贪心 字符串 排序🔴🀄️open in new window 🔗open in new window
1592重新排列单词间的空格字符串🟢🀄️open in new window 🔗open in new window
1593拆分字符串使唯一子字符串的数目最大[✓]哈希表 字符串 回溯🟠🀄️open in new window 🔗open in new window
1597根据中缀表达式构造二叉表达式树 🔒 字符串 1+🔴🀄️open in new window 🔗open in new window
1598文件夹操作日志搜集器 数组 字符串🟢🀄️open in new window 🔗open in new window
1604警告一小时内使用相同员工卡大于等于三次的人数组 哈希表 字符串 1+🟠🀄️open in new window 🔗open in new window
1614括号的最大嵌套深度 字符串🟢🀄️open in new window 🔗open in new window
1616分割两个字符串得到回文串双指针 字符串🟠🀄️open in new window 🔗open in new window
1618找出适应屏幕的最大字号 🔒数组 字符串 二分查找 1+🟠🀄️open in new window 🔗open in new window
1624两个相同字符之间的最长子字符串哈希表 字符串🟢🀄️open in new window 🔗open in new window
1625执行操作后字典序最小的字符串深度优先搜索 广度优先搜索 字符串 1+🟠🀄️open in new window 🔗open in new window
1629按键持续时间最长的键数组 字符串🟢🀄️open in new window 🔗open in new window
1638统计只差一个字符的子串数目哈希表 字符串 动态规划 1+🟠🀄️open in new window 🔗open in new window
1639通过给定词典构造目标字符串的方案数数组 字符串 动态规划🔴🀄️open in new window 🔗open in new window
1647字符频次唯一的最小删除次数贪心 哈希表 字符串 1+🟠🀄️open in new window 🔗open in new window
1653使字符串平衡的最少删除次数 字符串 动态规划🟠🀄️open in new window 🔗open in new window
1657确定两个字符串是否接近[✓]哈希表 字符串 计数 1+🟠🀄️open in new window 🔗open in new window
1662检查两个字符串数组是否相等数组 字符串🟢🀄️open in new window 🔗open in new window
1663具有给定数值的最小字符串贪心 字符串🟠🀄️open in new window 🔗open in new window
1668最大重复子字符串字符串 动态规划 字符串匹配🟢🀄️open in new window 🔗open in new window
1678设计 Goal 解析器字符串🟢🀄️open in new window 🔗open in new window
1682最长回文子序列 II 🔒字符串 动态规划🟠🀄️open in new window 🔗open in new window
1684统计一致字符串的数目位运算 数组 哈希表 2+🟢🀄️open in new window 🔗open in new window
1689十-二进制数的最少数目贪心 字符串🟠🀄️open in new window 🔗open in new window
1694重新格式化电话号码字符串🟢🀄️open in new window 🔗open in new window
1698字符串的不同子字符串个数 🔒字典树 字符串 后缀数组 2+🟠🀄️open in new window 🔗open in new window
1702修改后的最大二进制字符串贪心 字符串🟠🀄️open in new window 🔗open in new window
1704判断字符串的两半是否相似字符串 计数🟢🀄️open in new window 🔗open in new window
1717删除子字符串的最大得分 贪心 字符串🟠🀄️open in new window 🔗open in new window
1736替换隐藏数字得到的最晚时间贪心 字符串🟢🀄️open in new window 🔗open in new window
1737满足三条件之一需改变的最少字符数哈希表 字符串 计数 1+🟠🀄️open in new window 🔗open in new window
1745分割回文串 IV字符串 动态规划🔴🀄️open in new window 🔗open in new window
1750删除字符串两端相同字符后的最短长度双指针 字符串🟠🀄️open in new window 🔗open in new window
1754构造字典序最大的合并字符串贪心 双指针 字符串🟠🀄️open in new window 🔗open in new window
1758生成交替二进制字符串的最少操作数字符串🟢🀄️open in new window 🔗open in new window
1759统计同质子字符串的数目数学 字符串🟠🀄️open in new window 🔗open in new window
1763最长的美好子字符串位运算 哈希表 字符串 2+🟢🀄️open in new window 🔗open in new window
1768交替合并字符串[✓]双指针 字符串🟢🀄️open in new window 🔗open in new window
1769移动所有球到每个盒子所需的最小操作数数组 字符串 前缀和🟠🀄️open in new window 🔗open in new window
1771由子序列构造的最长回文串的长度字符串 动态规划🔴🀄️open in new window 🔗open in new window
1772按受欢迎程度排列功能 🔒数组 哈希表 字符串 1+🟠🀄️open in new window 🔗open in new window
1773统计匹配检索规则的物品数量数组 字符串🟢🀄️open in new window 🔗open in new window
1781所有子字符串美丽值之和哈希表 字符串 计数🟠🀄️open in new window 🔗open in new window
1784检查二进制字符串字段字符串🟢🀄️open in new window 🔗open in new window
1790仅执行一次字符串交换能否使两个字符串相等哈希表 字符串 计数🟢🀄️open in new window 🔗open in new window
1794统计距离最小的子串对个数 🔒贪心 哈希表 字符串🟠🀄️open in new window 🔗open in new window
1796字符串中第二大的数字哈希表 字符串🟢🀄️open in new window 🔗open in new window
1804实现 Trie (前缀树) II 🔒设计 字典树 哈希表 1+🟠🀄️open in new window 🔗open in new window
1805字符串中不同整数的数目哈希表 字符串🟢🀄️open in new window 🔗open in new window
1807替换字符串中的括号内容数组 哈希表 字符串🟠🀄️open in new window 🔗open in new window
1812判断国际象棋棋盘中一个格子的颜色数学 字符串🟢🀄️open in new window 🔗open in new window
1813句子相似性 III[✓]数组 双指针 字符串🟠🀄️open in new window 🔗open in new window
1816截断句子数组 字符串🟢🀄️open in new window 🔗open in new window
1830使字符串有序的最少操作次数数学 字符串 组合数学🔴🀄️open in new window 🔗open in new window
1832判断句子是否为全字母句哈希表 字符串🟢🀄️open in new window 🔗open in new window
1839所有元音按顺序排布的最长子字符串字符串 滑动窗口🟠🀄️open in new window 🔗open in new window
1842下个由相同数字构成的回文串 🔒双指针 字符串🔴🀄️open in new window 🔗open in new window
1844将所有数字用字符替换字符串🟢🀄️open in new window 🔗open in new window
1849将字符串拆分为递减的连续值字符串 回溯🟠🀄️open in new window 🔗open in new window
1850邻位交换的最小次数贪心 双指针 字符串🟠🀄️open in new window 🔗open in new window
1859将句子排序字符串 排序🟢🀄️open in new window 🔗open in new window
1864构成交替字符串需要的最小交换次数贪心 字符串🟠🀄️open in new window 🔗open in new window
1869哪种连续子字符串更长字符串🟢🀄️open in new window 🔗open in new window
1871跳跃游戏 VII字符串 动态规划 前缀和 1+🟠🀄️open in new window 🔗open in new window
1876长度为三且各字符不同的子字符串哈希表 字符串 计数 1+🟢🀄️open in new window 🔗open in new window
1880检查某单词是否等于两单词之和字符串🟢🀄️open in new window 🔗open in new window
1881插入后的最大值贪心 字符串🟠🀄️open in new window 🔗open in new window
1888使二进制字符串字符交替的最少反转次数贪心 字符串 动态规划 1+🟠🀄️open in new window 🔗open in new window
1896反转表达式值的最少操作次数 数学 字符串 1+🔴🀄️open in new window 🔗open in new window
1897重新分配字符使所有字符串都相等哈希表 字符串 计数🟢🀄️open in new window 🔗open in new window
1898可移除字符的最大数目数组 双指针 字符串 1+🟠🀄️open in new window 🔗open in new window
1903字符串中的最大奇数贪心 数学 字符串🟢🀄️open in new window 🔗open in new window
1904你完成的完整对局数数学 字符串🟠🀄️open in new window 🔗open in new window
1910删除一个字符串中所有出现的给定子字符串 字符串 模拟🟠🀄️open in new window 🔗open in new window
1915最美子字符串的数目位运算 哈希表 字符串 1+🟠🀄️open in new window 🔗open in new window
1927求和游戏贪心 数学 字符串 1+🟠🀄️open in new window 🔗open in new window
1930长度为 3 的不同回文子序列位运算 哈希表 字符串 1+🟠🀄️open in new window 🔗open in new window
1933判断字符串是否可分解为值均等的子串 🔒字符串🟢🀄️open in new window 🔗open in new window
1935可以输入的最大单词数哈希表 字符串🟢🀄️open in new window 🔗open in new window
1941检查是否所有字符出现次数相同哈希表 字符串 计数🟢🀄️open in new window 🔗open in new window
1945字符串转化后的各位数字之和字符串 模拟🟢🀄️open in new window 🔗open in new window
1946子字符串突变后可能得到的最大整数贪心 数组 字符串🟠🀄️open in new window 🔗open in new window
1948删除系统中的重复文件夹字典树 数组 哈希表 2+🔴🀄️open in new window 🔗open in new window
1957删除字符使字符串变好[✓]字符串🟢🀄️open in new window 🔗open in new window
1960两个回文子字符串长度的最大乘积字符串 哈希函数 滚动哈希🔴🀄️open in new window 🔗open in new window
1961检查字符串是否为数组前缀数组 双指针 字符串🟢🀄️open in new window 🔗open in new window
1963使字符串平衡的最小交换次数[✓] 贪心 双指针 1+🟠🀄️open in new window 🔗open in new window
1967作为子字符串出现在单词中的字符串数目数组 字符串🟢🀄️open in new window 🔗open in new window
1974使用特殊打字机键入单词的最少时间贪心 字符串🟢🀄️open in new window 🔗open in new window
1977划分数字的方案数字符串 动态规划 后缀数组🔴🀄️open in new window 🔗open in new window
1980找出不同的二进制字符串数组 哈希表 字符串 1+🟠🀄️open in new window 🔗open in new window
1985找出数组中的第 K 大整数数组 字符串 分治 3+🟠🀄️open in new window 🔗open in new window
1987不同的好子序列数目字符串 动态规划🔴🀄️open in new window 🔗open in new window
2000反转单词前缀 双指针 字符串🟢🀄️open in new window 🔗open in new window
2002两个回文子序列长度的最大乘积位运算 字符串 动态规划 2+🟠🀄️open in new window 🔗open in new window
2011执行操作后的变量值数组 字符串 模拟🟢🀄️open in new window 🔗open in new window
2014重复 K 次的最长子序列贪心 字符串 回溯 2+🔴🀄️open in new window 🔗open in new window
2019解出数学表达式的学生分数 记忆化搜索 数组 3+🔴🀄️open in new window 🔗open in new window
2023连接后等于目标字符串的字符串对数组 哈希表 字符串 1+🟠🀄️open in new window 🔗open in new window
2024考试的最大困扰度字符串 二分查找 前缀和 1+🟠🀄️open in new window 🔗open in new window
2027转换字符串的最少操作次数贪心 字符串🟢🀄️open in new window 🔗open in new window
2030含特定字母的最小子序列 贪心 字符串 1+🔴🀄️open in new window 🔗open in new window
2038如果相邻两个颜色均相同则删除当前颜色贪心 数学 字符串 1+🟠🀄️open in new window 🔗open in new window
2042检查句子中的数字是否递增字符串🟢🀄️open in new window 🔗open in new window
2047句子中的有效单词数字符串🟢🀄️open in new window 🔗open in new window
2053数组中第 K 个独一无二的字符串数组 哈希表 字符串 1+🟢🀄️open in new window 🔗open in new window
2055蜡烛之间的盘子数组 字符串 二分查找 1+🟠🀄️open in new window 🔗open in new window
2056棋盘上有效移动组合的数目数组 字符串 回溯 1+🔴🀄️open in new window 🔗open in new window
2060同源字符串检测字符串 动态规划🔴🀄️open in new window 🔗open in new window
2062统计字符串中的元音子字符串哈希表 字符串🟢🀄️open in new window 🔗open in new window
2063所有子字符串中的元音数学 字符串 动态规划 1+🟠🀄️open in new window 🔗open in new window
2067等计数子串的数量 🔒字符串 计数 前缀和🟠🀄️open in new window 🔗open in new window
2068检查两个字符串是否几乎相等哈希表 字符串 计数🟢🀄️open in new window 🔗open in new window
2075解码斜向换位密码字符串 模拟🟠🀄️open in new window 🔗open in new window
2083求以相同字母开头和结尾的子串总数 🔒哈希表 数学 字符串 2+🟠🀄️open in new window 🔗open in new window
2085统计出现过一次的公共字符串数组 哈希表 字符串 1+🟢🀄️open in new window 🔗open in new window
2086喂食仓鼠的最小食物桶数贪心 字符串 动态规划🟠🀄️open in new window 🔗open in new window
2096从二叉树一个节点到另一个节点每一步的方向 深度优先搜索 字符串 1+🟠🀄️open in new window 🔗open in new window
2103环和杆哈希表 字符串🟢🀄️open in new window 🔗open in new window
2108找出数组中的第一个回文字符串数组 双指针 字符串🟢🀄️open in new window 🔗open in new window
2109向字符串添加空格数组 双指针 字符串 1+🟠🀄️open in new window 🔗open in new window
2114句子中的最多单词数数组 字符串🟢🀄️open in new window 🔗open in new window
2115从给定原材料中找到所有可以做出的菜 拓扑排序 数组 2+🟠🀄️open in new window 🔗open in new window
2116判断一个括号字符串是否有效 贪心 字符串🟠🀄️open in new window 🔗open in new window
2120执行所有后缀指令字符串 模拟🟠🀄️open in new window 🔗open in new window
2124检查是否所有 A 都在 B 之前字符串🟢🀄️open in new window 🔗open in new window
2125银行中的激光束数量数组 数学 字符串 1+🟠🀄️open in new window 🔗open in new window
2129将标题首字母大写字符串🟢🀄️open in new window 🔗open in new window
2131连接两字母单词得到的最长回文串贪心 数组 哈希表 2+🟠🀄️open in new window 🔗open in new window
2135统计追加字母可以获得的单词数位运算 数组 哈希表 2+🟠🀄️open in new window 🔗open in new window
2138将字符串拆分为若干长度为 k 的组字符串 模拟🟢🀄️open in new window 🔗open in new window
2147分隔长廊的方案数数学 字符串 动态规划🔴🀄️open in new window 🔗open in new window
2156查找给定哈希值的子串字符串 滑动窗口 哈希函数 1+🔴🀄️open in new window 🔗open in new window
2157字符串分组位运算 并查集 字符串🔴🀄️open in new window 🔗open in new window
2166设计位集设计 数组 哈希表 1+🟠🀄️open in new window 🔗open in new window
2167移除所有载有违禁货物车厢所需的最少时间字符串 动态规划🔴🀄️open in new window 🔗open in new window
2168每个数字的频率都相同的独特子字符串的数量 🔒哈希表 字符串 计数 2+🟠🀄️open in new window 🔗open in new window
2182构造限制重复的字符串贪心 哈希表 字符串 2+🟠🀄️open in new window 🔗open in new window
2185统计包含给定前缀的字符串数组 字符串 字符串匹配🟢🀄️open in new window 🔗open in new window
2186制造字母异位词的最小步骤数 II哈希表 字符串 计数🟠🀄️open in new window 🔗open in new window
2193得到回文串的最少操作次数贪心 树状数组 双指针 1+🔴🀄️open in new window 🔗open in new window
2194Excel 表中某个范围内的单元格字符串🟢🀄️open in new window 🔗open in new window
2207字符串中最多数目的子序列贪心 字符串 前缀和🟠🀄️open in new window 🔗open in new window
2209用地毯覆盖后的最少白色砖块字符串 动态规划 前缀和🔴🀄️open in new window 🔗open in new window
2211统计道路上的碰撞次数 字符串 模拟🟠🀄️open in new window 🔗open in new window
2213由单个字符重复的最长子字符串线段树 数组 字符串 1+🔴🀄️open in new window 🔗open in new window
2222选择建筑的方案数字符串 动态规划 前缀和🟠🀄️open in new window 🔗open in new window
2223构造字符串的总得分和字符串 二分查找 字符串匹配 3+🔴🀄️open in new window 🔗open in new window
2224转化时间需要的最少操作数贪心 字符串🟢🀄️open in new window 🔗open in new window
2227加密解密字符串设计 字典树 数组 2+🔴🀄️open in new window 🔗open in new window
2232向表达式添加括号后的最小结果字符串 枚举🟠🀄️open in new window 🔗open in new window
2243计算字符串的数字和字符串 模拟🟢🀄️open in new window 🔗open in new window
2246相邻字符不同的最长路径 深度优先搜索 3+🔴🀄️open in new window 🔗open in new window
2255统计是给定字符串前缀的字符串数目数组 字符串🟢🀄️open in new window 🔗open in new window
2259移除指定数字得到的最大结果[✓]贪心 字符串 枚举🟢🀄️open in new window 🔗open in new window
2262字符串的总引力[✓]哈希表 字符串 动态规划🔴🀄️open in new window 🔗open in new window
2264字符串中最大的 3 位相同数字字符串🟢🀄️open in new window 🔗open in new window
2266统计打字方案数哈希表 数学 字符串 1+🟠🀄️open in new window 🔗open in new window
2268最少按键次数 🔒贪心 哈希表 字符串 2+🟠🀄️open in new window 🔗open in new window
2269找到一个数字的 K 美丽值数学 字符串 滑动窗口🟢🀄️open in new window 🔗open in new window
2273移除字母异位词后的结果数组数组 哈希表 字符串 1+🟢🀄️open in new window 🔗open in new window
2278字母在字符串中的百分比字符串🟢🀄️open in new window 🔗open in new window
2283判断一个数的数字计数是否等于数位的值哈希表 字符串 计数🟢🀄️open in new window 🔗open in new window
2284最多单词数的发件人数组 哈希表 字符串 1+🟠🀄️open in new window 🔗open in new window
2287重排字符形成目标字符串哈希表 字符串 计数🟢🀄️open in new window 🔗open in new window
2288价格减免字符串🟠🀄️open in new window 🔗open in new window
2296设计一个文本编辑器 设计 链表 3+🔴🀄️open in new window 🔗open in new window
2299强密码检验器 II字符串🟢🀄️open in new window 🔗open in new window
2301替换字符后匹配数组 哈希表 字符串 1+🔴🀄️open in new window 🔗open in new window
2306公司命名位运算 数组 哈希表 2+🔴🀄️open in new window 🔗open in new window
2309兼具大小写的最好英文字母哈希表 字符串 枚举🟢🀄️open in new window 🔗open in new window
2311小于等于 K 的最长二进制子序列贪心 记忆化搜索 字符串 1+🟠🀄️open in new window 🔗open in new window
2315统计星号字符串🟢🀄️open in new window 🔗open in new window
2325解密消息哈希表 字符串🟢🀄️open in new window 🔗open in new window
2330验证回文串 IV 🔒双指针 字符串🟠🀄️open in new window 🔗open in new window
2337移动片段得到字符串双指针 字符串🟠🀄️open in new window 🔗open in new window
2343裁剪数字后查询第 K 小的数字数组 字符串 分治 4+🟠🀄️open in new window 🔗open in new window
2351第一个出现两次的字母位运算 哈希表 字符串 1+🟢🀄️open in new window 🔗open in new window
2370最长理想子序列哈希表 字符串 动态规划🟠🀄️open in new window 🔗open in new window
2375根据模式串构造最小数字 贪心 字符串 1+🟠🀄️open in new window 🔗open in new window
2379得到 K 个黑块的最少涂色次数字符串 滑动窗口🟢🀄️open in new window 🔗open in new window
2380二进制字符串重新安排顺序需要的时间字符串 动态规划 模拟🟠🀄️open in new window 🔗open in new window
2381字母移位 II数组 字符串 前缀和🟠🀄️open in new window 🔗open in new window
2384最大回文数字贪心 哈希表 字符串 1+🟠🀄️open in new window 🔗open in new window
2390从字符串中移除星号[✓] 字符串 模拟🟠🀄️open in new window 🔗open in new window
2391收集垃圾的最少总时间数组 字符串 前缀和🟠🀄️open in new window 🔗open in new window
2399检查相同字母间的距离数组 哈希表 字符串🟢🀄️open in new window 🔗open in new window
2405子字符串的最优划分贪心 哈希表 字符串🟠🀄️open in new window 🔗open in new window
2408设计 SQL 🔒设计 数组 哈希表 1+🟠🀄️open in new window 🔗open in new window
2409统计共同度过的日子数数学 字符串🟢🀄️open in new window 🔗open in new window
2414最长的字母序连续子字符串的长度字符串🟠🀄️open in new window 🔗open in new window
2416字符串的前缀分数和[✓]字典树 数组 字符串 1+🔴🀄️open in new window 🔗open in new window
2418按身高排序数组 哈希表 字符串 1+🟢🀄️open in new window 🔗open in new window
2423删除字符使频率相同哈希表 字符串 计数🟢🀄️open in new window 🔗open in new window
2430对字母串可执行的最大删除数字符串 动态规划 字符串匹配 2+🔴🀄️open in new window 🔗open in new window
2434使用机器人打印字典序最小的字符串 贪心 哈希表 1+🟠🀄️open in new window 🔗open in new window
2437有效时间的数目字符串 枚举🟢🀄️open in new window 🔗open in new window
2446判断两个事件是否存在冲突数组 字符串🟢🀄️open in new window 🔗open in new window
2450应用操作后不同二进制字符串的数量 🔒数学 字符串🟠🀄️open in new window 🔗open in new window
2451差值数组不同的字符串数组 哈希表 字符串🟢🀄️open in new window 🔗open in new window
2452距离字典两次编辑以内的单词数组 字符串🟠🀄️open in new window 🔗open in new window
2456最流行的视频创作者数组 哈希表 字符串 2+🟠🀄️open in new window 🔗open in new window
2468根据限制分割消息字符串 二分查找🔴🀄️open in new window 🔗open in new window
2472不重叠回文子字符串的最大数目贪心 双指针 字符串 1+🔴🀄️open in new window 🔗open in new window
2478完美分割的方案数字符串 动态规划🔴🀄️open in new window 🔗open in new window
2483商店的最少代价字符串 前缀和🟠🀄️open in new window 🔗open in new window
2484统计回文子序列数目字符串 动态规划🔴🀄️open in new window 🔗open in new window
2486追加字符以获得子序列贪心 双指针 字符串🟠🀄️open in new window 🔗open in new window
2489固定比率的子字符串数 🔒哈希表 数学 字符串 1+🟠🀄️open in new window 🔗open in new window
2490回环句[✓]字符串🟢🀄️open in new window 🔗open in new window
2496数组中字符串的最大值数组 字符串🟢🀄️open in new window 🔗open in new window
2506统计相似字符串对的数目位运算 数组 哈希表 2+🟢🀄️open in new window 🔗open in new window
2512奖励最顶尖的 K 名学生数组 哈希表 字符串 2+🟠🀄️open in new window 🔗open in new window
2514统计同位异构字符串数目哈希表 数学 字符串 2+🔴🀄️open in new window 🔗open in new window
2515到目标字符串的最短距离数组 字符串🟢🀄️open in new window 🔗open in new window
2516每种字符至少取 K 个[✓]哈希表 字符串 滑动窗口🟠🀄️open in new window 🔗open in new window
2522将字符串分割成值不超过 K 的子字符串贪心 字符串 动态规划🟠🀄️open in new window 🔗open in new window
2531使字符串中不同字符的数目相等哈希表 字符串 计数🟠🀄️open in new window 🔗open in new window
2539好子序列的个数 🔒哈希表 数学 字符串 2+🟠🀄️open in new window 🔗open in new window
2546执行逐位运算使字符串相等位运算 字符串🟠🀄️open in new window 🔗open in new window
2559统计范围内的元音字符串数数组 字符串 前缀和🟠🀄️open in new window 🔗open in new window
2564子字符串异或查询位运算 数组 哈希表 1+🟠🀄️open in new window 🔗open in new window
2565最少得分子序列双指针 字符串 二分查找🔴🀄️open in new window 🔗open in new window
2573找出对应 LCP 矩阵的字符串贪心 并查集 数组 3+🔴🀄️open in new window 🔗open in new window
2575找出字符串的可整除数组数组 数学 字符串🟠🀄️open in new window 🔗open in new window
2586统计范围内的元音字符串数数组 字符串 计数🟢🀄️open in new window 🔗open in new window
2590设计一个待办事项清单 🔒设计 数组 哈希表 2+🟠🀄️open in new window 🔗open in new window
2606找到最大开销的子字符串数组 哈希表 字符串 1+🟠🀄️open in new window 🔗open in new window
2609最长平衡子字符串字符串🟢🀄️open in new window 🔗open in new window
2645构造有效字符串的最少插入数 贪心 字符串 1+🟠🀄️open in new window 🔗open in new window
2663字典序最小的美丽字符串贪心 字符串🔴🀄️open in new window 🔗open in new window
2678老人的数目数组 字符串🟢🀄️open in new window 🔗open in new window
2696删除子串后的字符串最小长度[✓] 字符串 模拟🟢🀄️open in new window 🔗open in new window
2697字典序最小回文串贪心 双指针 字符串🟢🀄️open in new window 🔗open in new window
2707字符串中的额外字符字典树 数组 哈希表 2+🟠🀄️open in new window 🔗open in new window
2710移除字符串中的尾随零字符串🟢🀄️open in new window 🔗open in new window
2712使所有字符相等的最小成本贪心 字符串 动态规划🟠🀄️open in new window 🔗open in new window
2716最小化字符串长度哈希表 字符串🟢🀄️open in new window 🔗open in new window
2719统计整数数目数学 字符串 动态规划🔴🀄️open in new window 🔗open in new window
2730找到最长的半重复子字符串字符串 滑动窗口🟠🀄️open in new window 🔗open in new window
2734执行子串操作后的字典序最小字符串贪心 字符串🟠🀄️open in new window 🔗open in new window
2743计算没有重复字符的子字符串数量 🔒哈希表 字符串 滑动窗口🟠🀄️open in new window 🔗open in new window
2744最大字符串配对数目数组 哈希表 字符串 1+🟢🀄️open in new window 🔗open in new window
2746字符串连接删减字母数组 字符串 动态规划🟠🀄️open in new window 🔗open in new window
2767将字符串分割为最少的美丽子字符串哈希表 字符串 动态规划 1+🟠🀄️open in new window 🔗open in new window
2781最长合法子字符串的长度数组 哈希表 字符串 1+🔴🀄️open in new window 🔗open in new window
2785将字符串中的元音字母排序字符串 排序🟠🀄️open in new window 🔗open in new window
2788按分隔符拆分字符串数组 字符串🟢🀄️open in new window 🔗open in new window
2800包含三个字符串的最短字符串贪心 字符串 枚举🟠🀄️open in new window 🔗open in new window
2801统计范围内的步进数字数目字符串 动态规划🔴🀄️open in new window 🔗open in new window
2802找出第 K 个幸运数字 🔒位运算 数学 字符串🟠🀄️open in new window 🔗open in new window
2810故障键盘字符串 模拟🟢🀄️open in new window 🔗open in new window
2825循环增长使字符串子序列等于另一个字符串双指针 字符串🟠🀄️open in new window 🔗open in new window
2828判别首字母缩略词数组 字符串🟢🀄️open in new window 🔗open in new window
2833距离原点最远的点字符串 计数🟢🀄️open in new window 🔗open in new window
2839判断通过操作能否让字符串相等 I字符串🟢🀄️open in new window 🔗open in new window
2840判断通过操作能否让字符串相等 II哈希表 字符串 排序🟠🀄️open in new window 🔗open in new window
2842统计一个字符串的 k 子序列美丽值最大的数目贪心 哈希表 数学 2+🔴🀄️open in new window 🔗open in new window
2844生成特殊数字的最少操作贪心 数学 字符串 1+🟠🀄️open in new window 🔗open in new window
2851字符串转换数学 字符串 动态规划 1+🔴🀄️open in new window 🔗open in new window
2864最大二进制奇数贪心 数学 字符串🟢🀄️open in new window 🔗open in new window
2868单词游戏 🔒贪心 数组 数学 3+🔴🀄️open in new window 🔗open in new window
2896执行操作使两个字符串相等字符串 动态规划🟠🀄️open in new window 🔗open in new window
2900最长相邻不相等子序列 I贪心 数组 字符串 1+🟢🀄️open in new window 🔗open in new window
2901最长相邻不相等子序列 II数组 字符串 动态规划🟠🀄️open in new window 🔗open in new window
2904最短且字典序最小的美丽子字符串字符串 滑动窗口🟠🀄️open in new window 🔗open in new window
2911得到 K 个半回文串的最少修改次数双指针 字符串 动态规划🔴🀄️open in new window 🔗open in new window
2914使二进制字符串变美丽的最少修改次数[✓]字符串🟠🀄️open in new window 🔗open in new window
2933高访问员工数组 哈希表 字符串 1+🟠🀄️open in new window 🔗open in new window
2937使三个字符串相等字符串🟢🀄️open in new window 🔗open in new window
2938区分黑球与白球[✓]贪心 双指针 字符串🟠🀄️open in new window 🔗open in new window
2942查找包含给定字符的单词数组 字符串🟢🀄️open in new window 🔗open in new window
2947统计美丽子字符串 I哈希表 数学 字符串 3+🟠🀄️open in new window 🔗open in new window
2949统计美丽子字符串 II哈希表 数学 字符串 2+🔴🀄️open in new window 🔗open in new window
2950可整除子串的数量 🔒哈希表 字符串 计数 1+🟠🀄️open in new window 🔗open in new window
2953统计完全子字符串哈希表 字符串 滑动窗口🔴🀄️open in new window 🔗open in new window
2955同端子串的数量 🔒数组 哈希表 字符串 2+🟠🀄️open in new window 🔗open in new window
2957消除相邻近似相等字符贪心 字符串 动态规划🟠🀄️open in new window 🔗open in new window
2976转换字符串的最小成本 I 数组 字符串 1+🟠🀄️open in new window 🔗open in new window
2977转换字符串的最小成本 II 字典树 数组 3+🔴🀄️open in new window 🔗open in new window
2981找出出现至少三次的最长特殊子字符串 I哈希表 字符串 二分查找 2+🟠🀄️open in new window 🔗open in new window
2982找出出现至少三次的最长特殊子字符串 II哈希表 字符串 二分查找 2+🟠🀄️open in new window 🔗open in new window
2983回文串重新排列查询哈希表 字符串 前缀和🔴🀄️open in new window 🔗open in new window
2999统计强大整数的数目数学 字符串 动态规划🔴🀄️open in new window 🔗open in new window
3003执行操作后的最大分割数量位运算 字符串 动态规划 1+🔴🀄️open in new window 🔗open in new window
3006找出数组中的美丽下标 I双指针 字符串 二分查找 3+🟠🀄️open in new window 🔗open in new window
3008找出数组中的美丽下标 II双指针 字符串 二分查找 3+🔴🀄️open in new window 🔗open in new window
3014输入单词需要的最少按键次数 I贪心 数学 字符串🟢🀄️open in new window 🔗open in new window
3016输入单词需要的最少按键次数 II贪心 哈希表 字符串 2+🟠🀄️open in new window 🔗open in new window
3019按键变更的次数字符串🟢🀄️open in new window 🔗open in new window
3029将单词恢复初始状态所需的最短时间 I字符串 字符串匹配 哈希函数 1+🟠🀄️open in new window 🔗open in new window
3031将单词恢复初始状态所需的最短时间 II字符串 字符串匹配 哈希函数 1+🔴🀄️open in new window 🔗open in new window
3035回文字符串的最大数量贪心 数组 哈希表 3+🟠🀄️open in new window 🔗open in new window
3042统计前后缀下标对 I字典树 数组 字符串 3+🟢🀄️open in new window 🔗open in new window
3043最长公共前缀的长度字典树 数组 哈希表 1+🟠🀄️open in new window 🔗open in new window
3045统计前后缀下标对 II字典树 数组 字符串 3+🔴🀄️open in new window 🔗open in new window
3076数组中的最短非公共子字符串字典树 数组 哈希表 1+🟠🀄️open in new window 🔗open in new window
3078矩阵中的字母数字模式匹配 I 🔒数组 哈希表 字符串 1+🟠🀄️open in new window 🔗open in new window
3081替换字符串中的问号使分数最小贪心 哈希表 字符串 3+🟠🀄️open in new window 🔗open in new window
3083字符串及其反转中是否存在同一子字符串哈希表 字符串🟢🀄️open in new window 🔗open in new window
3084统计以给定字符开头和结尾的子字符串总数数学 字符串 计数🟠🀄️open in new window 🔗open in new window
3085成为 K 特殊字符串需要删除的最少字符数贪心 哈希表 字符串 2+🟠🀄️open in new window 🔗open in new window
3088使字符串反回文 🔒贪心 字符串 计数排序 1+🔴🀄️open in new window 🔗open in new window
3090每个字符最多出现两次的最长子字符串哈希表 字符串 滑动窗口🟢🀄️open in new window 🔗open in new window
3093最长公共后缀查询字典树 数组 字符串🔴🀄️open in new window 🔗open in new window
3104查找最长的自包含子串 🔒哈希表 字符串 二分查找 1+🔴🀄️open in new window 🔗open in new window
3106满足距离约束且字典序最小的字符串贪心 字符串🟠🀄️open in new window 🔗open in new window
3110字符串的分数字符串🟢🀄️open in new window 🔗open in new window
3114替换字符可以得到的最晚时间字符串 枚举🟢🀄️open in new window 🔗open in new window
3119最大数量的可修复坑洼 🔒贪心 字符串 排序🟠🀄️open in new window 🔗open in new window
3120统计特殊字母的数量 I哈希表 字符串🟢🀄️open in new window 🔗open in new window
3121统计特殊字母的数量 II哈希表 字符串🟠🀄️open in new window 🔗open in new window
3125使得按位与结果为 0 的最大数字 🔒贪心 字符串 排序🟠🀄️open in new window 🔗open in new window
3135通过添加或删除结尾字符来同化字符串 🔒字符串 二分查找 动态规划 2+🟠🀄️open in new window 🔗open in new window
3136有效单词[✓]字符串🟢🀄️open in new window 🔗open in new window
3137K 周期字符串需要的最少操作次数哈希表 字符串 计数🟠🀄️open in new window 🔗open in new window
3138同位字符串连接的最小长度哈希表 字符串 计数🟠🀄️open in new window 🔗open in new window
3143正方形中的最多点数数组 哈希表 字符串 2+🟠🀄️open in new window 🔗open in new window
3144分割字符频率相等的最少子字符串哈希表 字符串 动态规划 1+🟠🀄️open in new window 🔗open in new window
3146两个字符串的排列差哈希表 字符串🟢🀄️open in new window 🔗open in new window
3163压缩字符串 III[✓]字符串🟠🀄️open in new window 🔗open in new window
3167字符串的更好压缩 🔒哈希表 字符串 计数 1+🟠🀄️open in new window 🔗open in new window
3168候诊室中的最少椅子数字符串 模拟🟢🀄️open in new window 🔗open in new window
3170删除星号以后字典序最小的字符串 贪心 哈希表 2+🟠🀄️open in new window 🔗open in new window
3174清除数字 字符串 模拟🟢🀄️open in new window 🔗open in new window
3210找出加密后的字符串字符串🟢🀄️open in new window 🔗open in new window
3211生成不含相邻零的二进制字符串位运算 递归 字符串🟠🀄️open in new window 🔗open in new window
3213最小代价构造字符串数组 字符串 动态规划 1+🔴🀄️open in new window 🔗open in new window
3216交换后字典序最小的字符串贪心 字符串🟢🀄️open in new window 🔗open in new window
3223操作后字符串的最短长度哈希表 字符串 计数🟠🀄️open in new window 🔗open in new window
3227字符串元音游戏脑筋急转弯 数学 字符串 1+🟠🀄️open in new window 🔗open in new window
3228将 1 移动到末尾的最大操作次数贪心 字符串 计数🟠🀄️open in new window 🔗open in new window
3234统计 1 显著的字符串的数量字符串 枚举 滑动窗口🟠🀄️open in new window 🔗open in new window
3248矩阵中的蛇数组 字符串 模拟🟢🀄️open in new window 🔗open in new window
3258统计满足 K 约束的子字符串数量 I字符串 滑动窗口🟢🀄️open in new window 🔗open in new window
3260找出最大的 N 位 K 回文数贪心 数学 字符串 2+🔴🀄️open in new window 🔗open in new window
3261统计满足 K 约束的子字符串数量 II数组 字符串 二分查找 2+🔴🀄️open in new window 🔗open in new window
3271哈希分割字符串字符串 模拟🟠🀄️open in new window 🔗open in new window
3274检查棋盘方格颜色是否相同数学 字符串🟢🀄️open in new window 🔗open in new window
3279活塞占据的最大总区域 🔒数组 哈希表 字符串 3+🔴🀄️open in new window 🔗open in new window
3280将日期转换为二进制表示数学 字符串🟢🀄️open in new window 🔗open in new window
3291形成目标字符串需要的最少字符串数 I字典树 线段树 数组 6+🟠🀄️open in new window 🔗open in new window
3292形成目标字符串需要的最少字符串数 II线段树 数组 字符串 5+🔴🀄️open in new window 🔗open in new window
3295举报垃圾信息数组 哈希表 字符串🟠🀄️open in new window 🔗open in new window
3297统计重新排列后包含另一个字符串的子字符串数目 I哈希表 字符串 滑动窗口🟠🀄️open in new window 🔗open in new window
3298统计重新排列后包含另一个字符串的子字符串数目 II哈希表 字符串 滑动窗口🔴🀄️open in new window 🔗open in new window
3302字典序最小的合法序列贪心 双指针 字符串 1+🟠🀄️open in new window 🔗open in new window
3303第一个几乎相等子字符串的下标字符串 字符串匹配🔴🀄️open in new window 🔗open in new window
3305元音辅音字符串计数 I哈希表 字符串 滑动窗口🟠🀄️open in new window 🔗open in new window
3306元音辅音字符串计数 II哈希表 字符串 滑动窗口🟠🀄️open in new window 🔗open in new window
3316从原字符串里进行删除操作的最多次数数组 哈希表 双指针 2+🟠🀄️open in new window 🔗open in new window
3320统计能获胜的出招序列数字符串 动态规划🔴🀄️open in new window 🔗open in new window
3324出现在屏幕上的字符串序列字符串 模拟🟠🀄️open in new window 🔗open in new window
3325字符至少出现 K 次的子字符串 I哈希表 字符串 滑动窗口🟠🀄️open in new window 🔗open in new window
3327判断 DFS 字符串是否是回文串 深度优先搜索 数组 3+🔴🀄️open in new window 🔗open in new window
3329字符至少出现 K 次的子字符串 II 🔒哈希表 字符串 滑动窗口🔴🀄️open in new window 🔗open in new window
LCP 17速算机器人数学 字符串 模拟🟢🀄️open in new window
LCP 19秋叶收藏集字符串 动态规划🟠🀄️open in new window
LCP 43十字路口的交通数组 字符串 动态规划🔴🀄️open in new window
LCP 66最小展台数量数组 哈希表 字符串 1+🟢🀄️open in new window
LCP 69Hello LeetCode!位运算 数组 字符串 2+🔴🀄️open in new window
剑指 Offer 12矩阵中的路径[✓]数组 字符串 回溯 1+🟠🀄️open in new window
剑指 Offer 19正则表达式匹配[✓]递归 字符串 动态规划🔴🀄️open in new window
剑指 Offer 20表示数值的字符串[✓]字符串🟠🀄️open in new window
剑指 Offer 37序列化二叉树[✓] 深度优先搜索 广度优先搜索 3+🔴🀄️open in new window
剑指 Offer 38字符串的排列[✓]字符串 回溯🟠🀄️open in new window
剑指 Offer 45把数组排成最小的数[✓]贪心 字符串 排序🟠🀄️open in new window
剑指 Offer 46把数字翻译成字符串[✓]字符串 动态规划🟠🀄️open in new window
剑指 Offer 48最长不含重复字符的子字符串[✓]哈希表 字符串 滑动窗口🟠🀄️open in new window
剑指 Offer 5替换空格[✓]字符串🟢🀄️open in new window
剑指 Offer 50第一个只出现一次的字符[✓]队列 哈希表 字符串 1+🟢🀄️open in new window
剑指 Offer 58翻转单词顺序[✓]双指针 字符串🟢🀄️open in new window
剑指 Offer 58-II左旋转字符串[✓]数学 双指针 字符串🟢🀄️open in new window
剑指 Offer 67把字符串转换成整数[✓]字符串🟠🀄️open in new window
剑指 Offer II 101分割等和子集[✓]数学 字符串 模拟🟢🀄️open in new window
剑指 Offer II 108单词演变[✓]广度优先搜索 哈希表 字符串🔴🀄️open in new window
剑指 Offer II 109开密码锁广度优先搜索 数组 哈希表 1+🟠🀄️open in new window
剑指 Offer II 114外星文字典深度优先搜索 广度优先搜索 3+🔴🀄️open in new window
剑指 Offer II 117相似的字符串深度优先搜索 广度优先搜索 并查集 3+🔴🀄️open in new window
剑指 Offer II 14字符串中的变位词[✓]哈希表 双指针 字符串 1+🟠🀄️open in new window
剑指 Offer II 15字符串中的所有变位词[✓]哈希表 字符串 滑动窗口🟠🀄️open in new window
剑指 Offer II 16不含重复字符的最长子字符串[✓]哈希表 字符串 滑动窗口🟠🀄️open in new window
剑指 Offer II 17含有所有字符的最短字符串哈希表 字符串 滑动窗口🔴🀄️open in new window
剑指 Offer II 18有效的回文[✓]双指针 字符串🟢🀄️open in new window
剑指 Offer II 19最多删除一个字符得到回文贪心 双指针 字符串🟢🀄️open in new window
剑指 Offer II 2二进制加法[✓]位运算 数学 字符串 1+🟢🀄️open in new window
剑指 Offer II 20回文子字符串的个数字符串 动态规划🟠🀄️open in new window
剑指 Offer II 32有效的变位词哈希表 字符串 排序🟢🀄️open in new window
剑指 Offer II 33变位词组[✓]数组 哈希表 字符串 1+🟠🀄️open in new window
剑指 Offer II 34外星语言是否排序数组 哈希表 字符串🟢🀄️open in new window
剑指 Offer II 35最小时间差数组 数学 字符串 1+🟠🀄️open in new window
剑指 Offer II 48序列化与反序列化二叉树[✓] 深度优先搜索 广度优先搜索 3+🔴🀄️open in new window
剑指 Offer II 5单词长度的最大乘积位运算 数组 字符串🟠🀄️open in new window
剑指 Offer II 62实现前缀树[✓]设计 字典树 哈希表 1+🟠🀄️open in new window
剑指 Offer II 63替换单词字典树 数组 哈希表 1+🟠🀄️open in new window
剑指 Offer II 64神奇的字典深度优先搜索 设计 字典树 2+🟠🀄️open in new window
剑指 Offer II 65最短的单词编码字典树 数组 哈希表 1+🟠🀄️open in new window
剑指 Offer II 66单词之和设计 字典树 哈希表 1+🟠🀄️open in new window
剑指 Offer II 85生成匹配的括号[✓]字符串 动态规划 回溯🟠🀄️open in new window
剑指 Offer II 87复原 IP[✓]字符串 回溯🟠🀄️open in new window
剑指 Offer II 92翻转字符字符串 动态规划🟠🀄️open in new window
剑指 Offer II 94最少回文分割字符串 动态规划🔴🀄️open in new window
剑指 Offer II 95最长公共子序列[✓]字符串 动态规划🟠🀄️open in new window
剑指 Offer II 96字符串交织[✓]字符串 动态规划🟠🀄️open in new window
剑指 Offer II 97子序列的数目字符串 动态规划🔴🀄️open in new window
面试题 01.01判定字符是否唯一[✓]位运算 哈希表 字符串 1+🟢🀄️open in new window
面试题 01.02判定是否互为字符重排哈希表 字符串 排序🟢🀄️open in new window
面试题 01.03URL化字符串🟢🀄️open in new window
面试题 01.04回文排列位运算 哈希表 字符串🟢🀄️open in new window
面试题 01.05一次编辑双指针 字符串🟠🀄️open in new window
面试题 01.06字符串压缩双指针 字符串🟢🀄️open in new window
面试题 01.09字符串轮转字符串 字符串匹配🟢🀄️open in new window
面试题 05.02二进制数转字符串位运算 数学 字符串🟠🀄️open in new window
面试题 08.07无重复字符串的排列组合字符串 回溯🟠🀄️open in new window
面试题 08.08有重复字符串的排列组合字符串 回溯🟠🀄️open in new window
面试题 08.09括号字符串 动态规划 回溯🟠🀄️open in new window
面试题 08.14布尔运算记忆化搜索 字符串 动态规划🟠🀄️open in new window
面试题 10.02变位词组数组 哈希表 字符串 1+🟠🀄️open in new window
面试题 10.05稀疏数组搜索数组 字符串 二分查找🟢🀄️open in new window
面试题 16.02单词频率设计 字典树 数组 2+🟠🀄️open in new window
面试题 16.08整数的英语表示递归 数学 字符串🔴🀄️open in new window
面试题 16.15珠玑妙算哈希表 字符串 计数🟢🀄️open in new window
面试题 16.18模式匹配数学 字符串 回溯 1+🟠🀄️open in new window
面试题 16.20T9键盘数组 哈希表 字符串🟠🀄️open in new window
面试题 16.22兰顿蚂蚁数组 哈希表 字符串 2+🟠🀄️open in new window
面试题 16.26计算器 数学 字符串🟠🀄️open in new window
面试题 17.07婴儿名字深度优先搜索 广度优先搜索 并查集 4+🟠🀄️open in new window
面试题 17.11单词距离数组 字符串🟠🀄️open in new window
面试题 17.13恢复空格字典树 数组 哈希表 4+🟠🀄️open in new window
面试题 17.15最长单词字典树 数组 哈希表 1+🟠🀄️open in new window
面试题 17.17多次搜索字典树 数组 哈希表 3+🟠🀄️open in new window
面试题 17.22单词转换广度优先搜索 哈希表 字符串 1+🟠🀄️open in new window
面试题 17.25单词矩阵字典树 数组 字符串 1+🔴🀄️open in new window