-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
fanyushun
committed
Jul 12, 2024
1 parent
4704d1f
commit 2b88f52
Showing
4 changed files
with
84 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,39 @@ | ||
# fxss-leetcode 算法 | ||
|
||
leetcode 算法 | ||
leetcode 算法集用于记录 leetcode 算法和平常想到的一些算法题,可以在 test 目录使用 vitest 测试,并以 vitepress 文档进行展示。 | ||
|
||
安装项目: | ||
|
||
```sh | ||
npm i | ||
``` | ||
|
||
测试算法: | ||
|
||
```sh | ||
npm run test | ||
``` | ||
|
||
文档展示: | ||
|
||
```sh | ||
npm run docs:dev | ||
``` | ||
|
||
由于每次需要创建的文档比较多,所以专门增加了命令行创建、删除文件: | ||
|
||
创建文件: | ||
|
||
```sh | ||
npm run add | ||
``` | ||
|
||
按照命令行输入选择,可以直接创建代码段文件、测试文件、文档文件。leetcode 代码段标题以数字序号开头的,会自动排序。 | ||
|
||
删除文件: | ||
|
||
```sh | ||
npm run rm | ||
``` | ||
|
||
按照命令行输入选择,删除所有相关文件。 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
# leetcode 算法集 | ||
|
||
leetcode 算法集用于记录 leetcode 算法和平常想到的一些算法题,可以在 test 目录使用 vitest 测试,并以 vitepress 文档进行展示。 | ||
|
||
安装项目: | ||
|
||
```sh | ||
npm i | ||
``` | ||
|
||
测试算法: | ||
|
||
```sh | ||
npm run test | ||
``` | ||
|
||
文档展示: | ||
|
||
```sh | ||
npm run docs:dev | ||
``` | ||
|
||
由于每次需要创建的文档比较多,所以专门增加了命令行创建、删除文件: | ||
|
||
创建文件: | ||
|
||
```sh | ||
npm run add | ||
``` | ||
|
||
按照命令行输入选择,可以直接创建代码段文件、测试文件、文档文件。leetcode 代码段标题以数字序号开头的,会自动排序。 | ||
|
||
删除文件: | ||
|
||
```sh | ||
npm run rm | ||
``` | ||
|
||
按照命令行输入选择,删除所有相关文件。 |