Skip to content

Commit 3913156

Browse files
committed
update string
1 parent 9d2d737 commit 3913156

File tree

7 files changed

+977
-964
lines changed

7 files changed

+977
-964
lines changed

images/leetcode_string.svg

Lines changed: 894 additions & 962 deletions
Loading

map/leetcode/leetcode-string.txt

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,12 @@
1717
1737 1759 1781 1807 1813 1839 1849 1850 1904 1910 1915 1946 5714
1818

1919
[-复杂题]
20-
273 336 564 591 632 730 736 761 770 899 936
20+
899 936
2121
1096 1106 1163 1316 1392 1449 1531 1542 1585 1745 1830 1948
2222

23+
[-表达式]
24+
770
25+
2326
[-BFS&DFS]
2427
126
2528

@@ -44,6 +47,7 @@
4447

4548
[-括号匹配]
4649
20(key=有效括号) 32(key=最长匹配)
50+
761(key=转换为括号)
4751

4852
[-正则表达式]
4953
10
@@ -55,5 +59,7 @@
5559
344 345
5660

5761
[-回文]
58-
125 336(key=回文) 680(key=删除字符回文)
62+
125 336(key=回文 star=5)
63+
680(key=删除字符回文)
64+
564(key=最近回文数字 star=5)
5965

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
/*
2+
* @lc app=leetcode.cn id=273 lang=cpp
3+
*
4+
* [273] 整数转换英文表示
5+
*/
6+
7+
// @lc code=start
8+
class Solution {
9+
public:
10+
string numberToWords(int num) {
11+
12+
}
13+
};
14+
// @lc code=end
15+
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
/*
2+
* @lc app=leetcode.cn id=564 lang=cpp
3+
*
4+
* [564] 寻找最近的回文数
5+
*/
6+
7+
// @lc code=start
8+
class Solution {
9+
public:
10+
string nearestPalindromic(string n) {
11+
12+
}
13+
};
14+
// @lc code=end
15+
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
/*
2+
* @lc app=leetcode.cn id=736 lang=cpp
3+
*
4+
* [736] Lisp 语法解析
5+
*/
6+
7+
// @lc code=start
8+
class Solution {
9+
public:
10+
int evaluate(string expression) {
11+
12+
}
13+
};
14+
// @lc code=end
15+
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
/*
2+
* @lc app=leetcode.cn id=761 lang=cpp
3+
*
4+
* [761] 特殊的二进制序列
5+
*/
6+
7+
// @lc code=start
8+
class Solution {
9+
public:
10+
string makeLargestSpecial(string s) {
11+
12+
}
13+
};
14+
// @lc code=end
15+

user/leetcode/899.有序队列.cpp

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
/*
2+
* @lc app=leetcode.cn id=899 lang=cpp
3+
*
4+
* [899] 有序队列
5+
*/
6+
7+
// @lc code=start
8+
class Solution {
9+
public:
10+
string orderlyQueue(string s, int k) {
11+
12+
}
13+
};
14+
// @lc code=end
15+

0 commit comments

Comments
 (0)