Skip to content

Commit bb2a96f

Browse files
author
lucifer
committed
feat: 使用新浪图床
1 parent e97d8ef commit bb2a96f

File tree

160 files changed

+414
-414
lines changed

Some content is hidden

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

160 files changed

+414
-414
lines changed

README.en.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313

1414
---
1515

16-
![leetcode.jpeg](./assets/leetcode.jpeg)
16+
![leetcode.jpeg](https://tva1.sinaimg.cn/large/007S8ZIlly1ghltwf4xivj30dw0780sm.jpg)
1717

1818
This essay records the course of and my emotion to this project from initialization to 10,000 stars.
1919
[Milestone for 10,000+ stars](./thanksGiving.md)
@@ -22,7 +22,7 @@ If you are interested in this project, **do not mean your star**. This project w
2222

2323
## Introduction
2424

25-
![leetcode.jpeg](./assets/leetcode.jpeg)
25+
![leetcode.jpeg](https://tva1.sinaimg.cn/large/007S8ZIlly1ghltwf4xivj30dw0780sm.jpg)
2626

2727
LeetCode Solutions: A Journey of Problem Solving.
2828

@@ -55,7 +55,7 @@ If you want to do some contributions or collaborations, just feel free to contac
5555
- Here will be the place to update Anki Flashcards in the future as well.
5656
- Here is a mind mapping graph showing the summary of categorizations of problems that are questioned frequently in interviews. We could analyze according to the information in the graph.
5757

58-
![leetcode-zhihu](./assets//leetcode-zhihu.jpg)
58+
![leetcode-zhihu](https://tva1.sinaimg.cn/large/007S8ZIlly1ghltwgi53bj30k00jx0te.jpg)
5959

6060
(Picture credited by [LeetCode-cn](https://www.zhihu.com/question/24964987/answer/586425979).)
6161

@@ -80,15 +80,15 @@ The data structures mainly include:
8080

8181
[0547.friend-circles](./problems/547.friend-circles-en.md) :
8282

83-
![friend circle BFS](./assets/problems/547.friend-circle-bfs.png)
83+
![friend circle BFS](https://tva1.sinaimg.cn/large/007S8ZIlly1ghltwh1getj30u0140tdc.jpg)
8484

8585
[backtrack problems](./problems/90.subsets-ii-en.md):
8686

87-
![backtrack](./assets/problems/backtrack.png)
87+
![backtrack](https://tva1.sinaimg.cn/large/007S8ZIlly1ghltwhwowgj30n20nptas.jpg)
8888

8989
[0454.4-sum-ii](./problems/454.4-sum-ii.en.md) :
9090

91-
![454.4-sum-ii](./assets/problems/454.4-sum-ii.png)
91+
![454.4-sum-ii](https://tva1.sinaimg.cn/large/007S8ZIlly1ghltwivf65j30le0deab3.jpg)
9292

9393
## Portals
9494

@@ -173,11 +173,11 @@ We're still on the early stage, so feedback from community is very welcome. For
173173

174174
### QQ (For China Region)
175175

176-
![qq-group-chat](./assets/qq-group-chat.png)
176+
![qq-group-chat](https://tva1.sinaimg.cn/large/007S8ZIlly1ghltwje9plj3060060wel.jpg)
177177

178178
### WeChat (For China Region)
179179

180-
![wechat-group-chat](./assets/wechat-group-chat.jpeg)
180+
![wechat-group-chat](https://tva1.sinaimg.cn/large/007S8ZIlly1ghltwjrk6ij30e80e875j.jpg)
181181

182182
(Add this bot and reply "leetcode" to join the group.)
183183

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020

2121
---
2222

23-
![leetcode.jpeg](./assets/leetcode.jpeg)
23+
![leetcode.jpeg](https://tva1.sinaimg.cn/large/007S8ZIlly1ghluelm27rj30dw0780sm.jpg)
2424

2525
- 2019-07-10 :[纪念项目 Star 突破 1W 的一个短文](./thanksGiving.md), 记录了项目的"兴起"之路,大家有兴趣可以看一下,如果对这个项目感兴趣,请**点击一下 Star**, 项目会**持续更新**,感谢大家的支持。
2626

@@ -29,7 +29,7 @@
2929
- 2020-04-12: [项目突破三万 Star](./thanksGiving3.md)
3030
- 2020-04-14: 官网`力扣加加`上线啦 💐💐💐💐💐,有专题讲解,每日一题,下载区和视频题解,后续会增加更多内容,还不赶紧收藏起来?地址:http://leetcode-solution.cn/
3131

32-
![](https://tva1.sinaimg.cn/large/007S8ZIlly1gdvenxvjlsj30z90dtdhw.jpg)
32+
![](https://tva1.sinaimg.cn/large/007S8ZIlly1ghluemaoj3j30z90dtmy5.jpg)
3333

3434
## 非科学人士看过来
3535

@@ -85,7 +85,7 @@ leetcode 题解,记录自己的 leetcode 解题之路。
8585

8686
- 这里有一张互联网公司面试中经常考察的问题类型总结的思维导图,我们可以结合图片中的信息分析一下。
8787

88-
![leetcode-zhihu](./assets//leetcode-zhihu.jpg)
88+
![leetcode-zhihu](https://tva1.sinaimg.cn/large/007S8ZIlly1ghluennxvrj30k00jx0te.jpg)
8989

9090
(图片来自 leetcode)
9191

@@ -110,7 +110,7 @@ leetcode 题解,记录自己的 leetcode 解题之路。
110110

111111
[0042.trapping-rain-water](./problems/42.trapping-rain-water.md):
112112

113-
![0042.trapping-rain-water](./assets/problems/42.trapping-rain-water-1.png)
113+
![0042.trapping-rain-water](https://tva1.sinaimg.cn/large/007S8ZIlly1ghlueqdwy3j30bg04hmx3.jpg)
114114

115115
[0547.friend-circles](./problems/547.friend-circles-en.md):
116116

@@ -375,11 +375,11 @@ anki - 文件 - 导入 - 下拉格式选择“打包的 anki 集合”,然后
375375

376376
- [每日一题汇总](./daily/)
377377

378-
![每日一题汇总](./assets/daily-summary.png)
378+
![每日一题汇总](https://tva1.sinaimg.cn/large/007S8ZIlly1ghluequftmj30p80nrmzc.jpg)
379379

380380
- [每日一题认领区](https://github.com/azl397985856/leetcode/projects/1)
381381

382-
![每日一题认领区](./assets/daily-board.png)
382+
![每日一题认领区](https://tva1.sinaimg.cn/large/007S8ZIlly1ghlues83n0j315f0i8gug.jpg)
383383

384384
### 计划
385385

daily/2019-06-27.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ function sqrt(num) {
5252
也就是说,函数上任一点(x,f(x))处的切线斜率是2x。
5353
那么,x-f(x)/(2x)就是一个比x更接近的近似值。代入 f(x)=x^2-a得到x-(x^2-a)/(2x),也就是(x+a/x)/2。
5454

55-
![2019-06-27](../assets/daily/2019-06-27.gif)
55+
![2019-06-27](https://tva1.sinaimg.cn/large/007S8ZIlly1ghludzm5xsg30ip0dct9s.gif)
5656

5757
(图片来自Wikipedia)
5858

daily/2019-07-10.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828

2929
这个题目解释起来比较费劲,我在网上找了一个现成的图来解释一下:
3030

31-
![weight-ball](../assets/daily/weight-ball.jpg)
31+
![weight-ball](https://tva1.sinaimg.cn/large/007S8ZIlly1ghlue317j6j30d80dcta4.jpg)
3232

3333
图中“1+”是指“1号小球为重”这一可能性。“1-”是指“1号小球为轻”这一可能性。
3434
一开始一共有24种可能性。

daily/2019-07-23.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
1515
```
1616

17-
![2019-07-23](../assets/daily/2019-07-23.jpeg)
17+
![2019-07-23](https://tva1.sinaimg.cn/large/007S8ZIlly1ghludxwb1aj30py1hc0tr.jpg)
1818

1919
## 参考答案
2020

daily/2019-07-26.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
## 题目描述
1010

11-
![2019-07-26](../assets/daily/2019-07-26.jpeg)
11+
![2019-07-26](https://tva1.sinaimg.cn/large/007S8ZIlly1ghludytrtlj30py1hcas1.jpg)
1212

1313
## 参考答案
1414

daily/2019-07-29.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ Example 2:
3737
2. row->col、col->row 的切换都伴随读取的初始位置的变化;
3838
3. 结束条件是row头>row尾或者col顶>col底
3939

40-
![剥洋葱](../assets/problems/54.spiral-matrix.jpg)
40+
![剥洋葱](https://tva1.sinaimg.cn/large/007S8ZIlly1ghlue0ni96j30b00bdq35.jpg)
4141

4242
时间复杂度O(m*n), 空间复杂度O(1)
4343

daily/2019-07-30.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
那么沿着这条纬线(记为E纬线)上任意一点向东走一英里,始终会回到原点,只是走的圈数不同而已。
2323
根据题目倒推,在这条纬线以北一英里存在一条纬线(记为N纬线),从N纬线的任意一点向南一英里到达E纬线W点,沿着E纬线向东一英里,必会回到W点,再向北走一英里恰好可以回到起点。北极点可能包含在这个集合中,也可能不在。
2424
如下图示供参考:
25-
![earth-problem](../assets/daily/2019-07-30.jpg)
25+
![earth-problem](https://tva1.sinaimg.cn/large/007S8ZIlly1ghlue5gt6uj30u01441l0.jpg)
2626

2727
所以答案是无数个点
2828

daily/2019-08-13.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ m 和 n =150,肯定超时。
6161

6262
最后将探测结果进行合并即可。合并的条件就是当前单元既能流入太平洋又能流入大西洋。
6363

64-
![集合](https://user-images.githubusercontent.com/5937331/63209454-7c921a80-c113-11e9-8d74-82d0476b8828.png)
64+
![集合](https://tva1.sinaimg.cn/large/007S8ZIlly1ghlue21s7aj30dw08cglo.jpg)
6565
扩展:
6666

6767
如果题目改为能够流入大西洋或者太平洋,我们只需要最后合并的时候,条件改为求或即可

problems/101.symmetric-tree.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ https://leetcode-cn.com/problems/symmetric-tree/
4242

4343
看到这题的时候,我的第一直觉是 DFS。然后我就想:`如果左子树是镜像,并且右子树也是镜像,是不是就说明整体是镜像?`。经过几秒的思考, 这显然是不对的,不符合题意。
4444

45-
![](https://tva1.sinaimg.cn/large/007S8ZIlly1gfbmeoo45bj31200iuabh.jpg)
45+
![](https://tva1.sinaimg.cn/large/007S8ZIlly1ghlu96e83wj31200iugme.jpg)
4646

4747
很明显其中左子树中的节点会和右子树中的节点进行比较,我把比较的元素进行了颜色区分,方便大家看。
4848

@@ -52,7 +52,7 @@ https://leetcode-cn.com/problems/symmetric-tree/
5252

5353
这种方法可行,但是需要 N 的空间(N 为节点总数)。我想到如果两者可以同时进行遍历,是不是就省去了哈希表的开销。
5454

55-
![](https://tva1.sinaimg.cn/large/007S8ZIlly1gfbso8u6myj31a30u0tf5.jpg)
55+
![](https://tva1.sinaimg.cn/large/007S8ZIlly1ghlu9a7sy7j31a30u0408.jpg)
5656

5757
如果不明白的话,我举个简单例子:
5858

@@ -112,4 +112,4 @@ class Solution:
112112

113113
大家也可以关注我的公众号《脑洞前端》获取更多更新鲜的 LeetCode 题解
114114

115-
![](https://tva1.sinaimg.cn/large/007S8ZIlly1gfaq00p8stj30x20iw7b0.jpg)
115+
![](https://tva1.sinaimg.cn/large/007S8ZIlly1ghlu9b4p9ej30x20iwjtf.jpg)

0 commit comments

Comments
 (0)