Skip to content

Commit eaf275b

Browse files
committed
Update docs
- remove js folder
1 parent e565293 commit eaf275b

6 files changed

+7
-110
lines changed

README.md

+5-11
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@
44

55
## 1. C++
66

7-
### 简介
7+
**适用于Ubuntu/WSL**
88

9-
- 适用于Ubuntu/WSL
9+
详细用法参见[使用VSCode进行LeetCode C++本地调试](https://raw.githubusercontent.com/Pokerpoke/LeetCode/master/doc/%E4%BD%BF%E7%94%A8VSCode%E8%BF%9B%E8%A1%8CLeetCode%20C%2B%2B%E6%9C%AC%E5%9C%B0%E8%B0%83%E8%AF%95.md)
1010

1111
### 依赖
1212

@@ -17,20 +17,14 @@
1717

1818
生成模板,将会在src目录下生成相应模板,根据题目进行修改即可。
1919

20-
因为C++不支持数字打头的函数名,那就添加一个后缀,solution_NO.名字作为problem_name吧
20+
因为C++不支持数字打头的函数名,那就添加一个后缀,${PROBLEM_NAME}_{ID}.名字作为solution_name吧
2121

2222
```shell
23-
./generate_template ${PROBLEM_NAME}
23+
./generate_template ${PROBLEM_NAME}_{ID}
2424
```
2525

2626
调试运行
2727

2828
```shell
29-
./leetcode ${PROBLEM_NAME}
30-
```
31-
32-
## 2. JS用法
33-
34-
```shell
35-
node ${PROBLEM_NAME}
29+
./leetcode ${PROBLEM_NAME}_{ID}
3630
```

doc/使用VSCode进行LeetCode C++本地调试.md

+2
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,8 @@ int main(int argc, char **argv)
135135

136136
如果修改VSCode中的快捷键,即可更加快速地进行调试。
137137

138+
![cmake keyboard shortcuts](https://raw.githubusercontent.com/Pokerpoke/Blog-images/master/%E4%BD%BF%E7%94%A8VSCode%E8%BF%9B%E8%A1%8CLeetCode%20C%2B%2B%E6%9C%AC%E5%9C%B0%E8%B0%83%E8%AF%95/cmake-keyboard-shortcuts.png)
139+
138140
## 5.可调试使用函数
139141

140142
由于使用Googletest,没法使用断点的方式进行调试,所以封装了几个简单的调试用函数。

js/122.Best Time to Buy and Sell Stock II.js

-21
This file was deleted.

js/189.Rotate Array.js

-37
This file was deleted.

js/26.Remove Duplicates from Sorted Array.js

-23
This file was deleted.

js/383.Ransom Note.js

-18
This file was deleted.

0 commit comments

Comments
 (0)