Skip to content

Commit 06b4a5c

Browse files
author
微信公众号:储凡
authored
Merge pull request #107 from lir0115/feat/add-docs-algo
2 parents b3ae3fc + 6ff0ad5 commit 06b4a5c

File tree

106 files changed

+848
-323
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

106 files changed

+848
-323
lines changed

README.md

Lines changed: 53 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,46 @@
1-
<!-- #region quick-start -->
21

32
<div align="center">
4-
<img alt="JavaScriptCollection" src="https://cdn.statically.io/gh/142vip/cdn_service@main/doc_book/jsc/jsc_logo.png" style="text-align: center;">
5-
<p style="font-size: 20px"><strong>✨【理论+实战】保姆级成长笔记✨</strong></p>
3+
<img
4+
alt="JavaScriptCollection"
5+
src="https://cdn.statically.io/gh/142vip/cdn_service@main/doc_book/jsc/jsc_logo.png"
6+
style="text-align: center;border-radius: 5px"
7+
>
8+
<p style="font-size: 20px">
9+
<strong>✨【理论+实战】保姆级成长笔记✨</strong>
10+
</p>
611
</div>
712
813
<div align="center">
9-
<div>
10-
<a href="https://js-collection.netlify.app" target="_blank" style="padding: 5px">
11-
<img alt="Netlify" src="https://api.netlify.com/api/v1/badges/75a7251a-f873-4aff-b387-6449ca241ef7/deploy-status">
12-
</a>
13-
<a href="https://js-collection.vercel.app" target="_blank" style="padding: 5px">
14-
<img alt="Vercel" src="https://therealsujitk-vercel-badge.vercel.app/?app=408">
15-
</a>
16-
</div>
17-
<div >
18-
<img alt="code size" src="https://img.shields.io/github/languages/code-size/142vip/JavaScriptCollection" style="padding: 5px">
19-
<img alt="release version" src="https://img.shields.io/github/v/release/142vip/JavaScriptCollection" style="padding: 5px">
20-
<img alt="repo size" src="https://img.shields.io/github/repo-size/142vip/JavaScriptCollection" style="padding: 5px">
21-
</div>
14+
<div id="wechat">
15+
<a href="#we-media-container">
16+
<img alt="作者: 储凡" src="https://img.shields.io/badge/公众号-储凡-8A2BE2.svg" style="text-align: center;">
17+
</a>
18+
</div>
19+
<div>
20+
<a href="https://js-collection.netlify.app" target="_blank" style="padding: 5px">
21+
<img alt="Netlify" src="https://api.netlify.com/api/v1/badges/75a7251a-f873-4aff-b387-6449ca241ef7/deploy-status">
22+
</a>
23+
<a href="https://js-collection.vercel.app" target="_blank" style="padding: 5px">
24+
<img alt="Vercel" src="https://therealsujitk-vercel-badge.vercel.app/?app=408">
25+
</a>
26+
</div>
27+
<div >
28+
<img alt="code size" src="https://img.shields.io/github/languages/code-size/142vip/JavaScriptCollection" style="padding: 5px">
29+
<img alt="release version" src="https://img.shields.io/github/v/release/142vip/JavaScriptCollection" style="padding: 5px">
30+
<img alt="repo size" src="https://img.shields.io/github/repo-size/142vip/JavaScriptCollection" style="padding: 5px">
31+
</div>
32+
<div id="repo-link">
33+
<a href="https://github.com/142vip/408CSFamily" target="_blank" style="padding: 5px">GitHub</a>
34+
|
35+
<a href="https://gitee.com/chufan443/408CSFamily" target="_blank" style="padding: 5px">Gitee</a>
36+
</div>
2237
</div>
23-
<br><br>
38+
<br>
39+
40+
<!-- #region quick-start -->
2441

2542
这里是工作、学习、生活中总结的各类文章,`有技术``有生活``有思考`
26-
所有内容会选择性的发表于`微信公众号``掘金``CSDN``Github` ,实际内容以本仓库排版、校对为主。
43+
所有内容会选择性的发表在`微信公众号``掘金``CSDN``Github`平台上(延迟1-2篇) ,实际内容以本仓库排版、校对为主。
2744

2845
## 在线浏览
2946

@@ -470,27 +487,25 @@ Nuxt.js是在vue框架上进行封装的,主要是用来解决单体页面的
470487

471488
若系列文章对你有所帮助,欢迎订阅公众号或微信”骚扰“,获取更多内容。**商务合作请备注来意**
472489

473-
<div style="text-align: center">
474-
<div align="center" >
475-
<table style="border:none;border-collapse:collapse;" border="0">
490+
<div style="text-align: center;margin: 10px" id="we-media-container">
491+
<div align="center" >
476492
<img src="https://cdn.statically.io/gh/142vip/cdn_service@main/media/fairy-sister-450x450.jpg"
477-
width="250px"
478-
style="margin: 10px"
493+
width="200px"
494+
style="margin:5px"
479495
title="欢迎关注公众号:Rong姐姐好可爱" alt="关注公众号"/>
480496
<img src="https://cdn.statically.io/gh/142vip/cdn_service@main/media/chu-fan-443-650x650.jpg"
481-
width="250px"
482-
style="margin: 10px"
497+
width="200px"
498+
style="margin:5px"
483499
title="欢迎添加微信:chufan443 " alt="联系作者"/>
484-
</table>
485500
</div>
486-
<div style="text-align: center;padding: 10px" align="center">
501+
<div style="text-align: center;padding: 5px" align="center">
487502
<a
488503
href="https://github.com/mmdapl"
489504
rel="nofollow noreferrer"
490505
target="_blank"
491506
title="点击跳转Github主页"
492507
>
493-
<img src="https://cdn.statically.io/gh/142vip/cdn_service@main/main-vip/svg/github.svg" alt="Github"
508+
<img src="https://cdn.statically.io/gh/142vip/cdn_service@main/main-vip/svg/github.svg" alt="CSDN" title="CSDN"
494509
style="margin: 5px;width: 24px;height: 24px;">
495510
</a>
496511
<a
@@ -499,7 +514,7 @@ Nuxt.js是在vue框架上进行封装的,主要是用来解决单体页面的
499514
target="_blank"
500515
title="点击跳转码云主页"
501516
>
502-
<img src="https://cdn.statically.io/gh/142vip/cdn_service@main/main-vip/svg/gitee.svg" alt="Gitee"
517+
<img src="https://cdn.statically.io/gh/142vip/cdn_service@main/main-vip/svg/gitee.svg" alt="Gitee" title="Gitee"
503518
style="margin: 5px;width: 24px;height: 24px;">
504519
</a>
505520
<a
@@ -517,7 +532,9 @@ Nuxt.js是在vue框架上进行封装的,主要是用来解决单体页面的
517532
target="_blank"
518533
title="点击跳转B站主页"
519534
>
520-
<img src="https://cdn.statically.io/gh/142vip/cdn_service@main/main-vip/svg/bilibili.svg" alt="Bilibili"
535+
<img
536+
src="https://cdn.statically.io/gh/142vip/cdn_service@main/main-vip/svg/bilibili.svg"
537+
alt="Bilibili"
521538
style="margin: 5px;width: 24px;height: 24px;">
522539
</a>
523540
<a
@@ -526,13 +543,15 @@ Nuxt.js是在vue框架上进行封装的,主要是用来解决单体页面的
526543
target="_blank"
527544
title="点击跳转CSDN博客主页"
528545
>
529-
<img src="https://cdn.statically.io/gh/142vip/cdn_service@main/main-vip/svg/csdn.svg" alt="CSDN"
530-
title="点击跳转CSDN博客主页"
531-
style="margin: 5px;width: 24px;height: 24px;">
546+
<img
547+
src="https://cdn.statically.io/gh/142vip/cdn_service@main/main-vip/svg/csdn.svg"
548+
title="点击跳转CSDN博客主页" alt="CSDN"
549+
style="margin: 5px;width: 24px;height: 24px;"
550+
>
532551
</a>
533552
</div>
534553
</div>
535554

536-
交流/加群/互看朋友圈 当然:**聊天/提问/建议/提需求** 可以在本公众号直接私信,后台可以看到,有时间即会回复,偶尔的延迟和疏漏还请小伙伴们谅解,**蟹蟹**
555+
交流/加群/互看朋友圈**聊天/提问/建议/提需求** 可以在公众号直接**私信**有时间即会回复,偶尔的延迟和疏漏还请小伙伴们谅解,蟹蟹
537556

538557
<!-- #endregion we-media -->

code/algorithm/find.js

Lines changed: 0 additions & 35 deletions
This file was deleted.

code/algorithm/isUSD.js

Lines changed: 0 additions & 40 deletions
This file was deleted.

code/algorithm/spiralOrder.js

Lines changed: 0 additions & 19 deletions
This file was deleted.
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
function InversePairs(nums) {
2+
}

code/algorithm/sword-point/数组和矩阵/firstNotRepeatingChar.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
/*
22
* @Description:第一个只出现一次的字符
33
* @Version: Beta1.0
4-
* @Author: 【B站&公众号】储凡
4+
* @Author: 微信公众号:储凡
55
* @Date: 2021-04-28 22:23:51
6-
* @LastEditors: 【B站&公众号】储凡
6+
* @LastEditors: 微信公众号:储凡
77
* @LastEditTime: 2021-04-28 22:24:20
88
*/
99

code/algorithm/sword-point/数组和矩阵/printMatrix.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
/*
22
* @Description: 顺时针打印矩阵
33
* @Version: Beta1.0
4-
* @Author: 【B站&公众号】储凡
4+
* @Author: 微信公众号:储凡
55
* @Date: 2021-04-27 14:22:13
6-
* @LastEditors: 【B站&公众号】储凡
6+
* @LastEditors: 微信公众号:储凡
77
* @LastEditTime: 2021-04-28 22:25:16
88
*/
99

@@ -89,7 +89,7 @@ function printMatrixTwo(matrix) {
8989
if (matrix.length === 0) break
9090
else seq.push(...matrix.pop().reverse())
9191

92-
// 左侧 从下网上aa'a's'd'fa's'da's'd'fa's'da's'd'fa's'd
92+
// 左侧
9393
const leftResult = []
9494
for (const row of matrix) {
9595
leftResult.push(row.shift())

code/algorithm/sword-point/栈队列堆/firstAppearingOnce.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
/*
22
* @Description: 【中等】字符流中的第一个不重复的字符
33
* @Version: Beta1.0
4-
* @Author: 【B站&公众号】储凡
4+
* @Author: 微信公众号:储凡
55
* @Date: 2021-04-29 21:40:02
6-
* @LastEditors: 【B站&公众号】储凡
6+
* @LastEditors: 微信公众号:储凡
77
* @LastEditTime: 2021-04-29 21:47:24
88
*/
99

code/algorithm/sword-point/栈队列堆/getLeastNumbers.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
/*
22
* @Description: 最小的K个数
33
* @Version: Beta1.0
4-
* @Author: 【B站&公众号】储凡
4+
* @Author: 微信公众号:储凡
55
* @Date: 2021-04-28 23:12:33
6-
* @LastEditors: 【B站&公众号】储凡
6+
* @LastEditors: 微信公众号:储凡
77
* @LastEditTime: 2021-04-28 23:35:30
88
*/
99

code/algorithm/sword-point/栈队列堆/getMinInJSStack.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
/*
22
* @Description: 【较难】包含min函数的栈
33
* @Version: Beta1.0
4-
* @Author: 【B站&公众号】储凡
4+
* @Author: 微信公众号:储凡
55
* @Date: 2021-04-29 22:04:17
6-
* @LastEditors: 【B站&公众号】储凡
6+
* @LastEditors: 微信公众号:储凡
77
* @LastEditTime: 2021-04-29 22:04:36
88
*/
99

0 commit comments

Comments
 (0)