Skip to content

Commit 598449b

Browse files
committed
Deployed 7af4629 with MkDocs version: 1.0.4
1 parent f8b5c6e commit 598449b

File tree

5 files changed

+32
-28
lines changed

5 files changed

+32
-28
lines changed

19_python内置常用算法和数据结构/builtins/index.html

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@
176176
<li class="toctree-l2"><a href="#python-int">python int 值范围</a></li>
177177

178178

179-
<li class="toctree-l2"><a href="#python-listdict">python list/dict 排序技巧</a></li>
179+
<li class="toctree-l2"><a href="#python-listdict">python list/dict 排序等技巧</a></li>
180180

181181

182182
<li class="toctree-l2"><a href="#_2">链表题目调试函数</a></li>
@@ -342,7 +342,7 @@ <h1 id="python-int">python int 值范围</h1>
342342
MAXINT = (1&lt;&lt;63) - 1
343343
MININT = ~MAXINT
344344
</code></pre>
345-
<h1 id="python-listdict">python list/dict 排序技巧</h1>
345+
<h1 id="python-listdict">python list/dict 排序等技巧</h1>
346346
<pre><code class="language-py"># python 根据 key,value 排序字典
347347
d = {'d': 4, 'a': 1, 'b': 2, 'c':3}
348348
# dict sort by key and reverse
@@ -377,6 +377,10 @@ <h1 id="python-listdict">python list/dict 排序技巧</h1>
377377

378378
# 一行代码判断列表是否有序
379379
issorted = all(l[i] &lt;= l[i+1] for i in range(len(l) - 1))
380+
381+
# python3 一行代码求前缀和
382+
from itertools import accumulate
383+
presums = list(accumulate([1,2,3])) # [1, 3, 6]
380384
</code></pre>
381385
<h1 id="_2">链表题目调试函数</h1>
382386
<pre><code class="language-py"># 编写链表题目经常用到的一些通用函数和调试函数,定义等,方便代码调试

index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -599,5 +599,5 @@ <h2 id="_22">本电子书制作和写作方式</h2>
599599

600600
<!--
601601
MkDocs version : 1.0.4
602-
Build Date UTC : 2022-04-09 04:10:17
602+
Build Date UTC : 2022-04-14 05:28:25
603603
-->

search/search_index.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

sitemap.xml

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -2,122 +2,122 @@
22
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
33
<url>
44
<loc>None</loc>
5-
<lastmod>2022-04-09</lastmod>
5+
<lastmod>2022-04-14</lastmod>
66
<changefreq>daily</changefreq>
77
</url>
88
<url>
99
<loc>None</loc>
10-
<lastmod>2022-04-09</lastmod>
10+
<lastmod>2022-04-14</lastmod>
1111
<changefreq>daily</changefreq>
1212
</url>
1313
<url>
1414
<loc>None</loc>
15-
<lastmod>2022-04-09</lastmod>
15+
<lastmod>2022-04-14</lastmod>
1616
<changefreq>daily</changefreq>
1717
</url>
1818
<url>
1919
<loc>None</loc>
20-
<lastmod>2022-04-09</lastmod>
20+
<lastmod>2022-04-14</lastmod>
2121
<changefreq>daily</changefreq>
2222
</url>
2323
<url>
2424
<loc>None</loc>
25-
<lastmod>2022-04-09</lastmod>
25+
<lastmod>2022-04-14</lastmod>
2626
<changefreq>daily</changefreq>
2727
</url>
2828
<url>
2929
<loc>None</loc>
30-
<lastmod>2022-04-09</lastmod>
30+
<lastmod>2022-04-14</lastmod>
3131
<changefreq>daily</changefreq>
3232
</url>
3333
<url>
3434
<loc>None</loc>
35-
<lastmod>2022-04-09</lastmod>
35+
<lastmod>2022-04-14</lastmod>
3636
<changefreq>daily</changefreq>
3737
</url>
3838
<url>
3939
<loc>None</loc>
40-
<lastmod>2022-04-09</lastmod>
40+
<lastmod>2022-04-14</lastmod>
4141
<changefreq>daily</changefreq>
4242
</url>
4343
<url>
4444
<loc>None</loc>
45-
<lastmod>2022-04-09</lastmod>
45+
<lastmod>2022-04-14</lastmod>
4646
<changefreq>daily</changefreq>
4747
</url>
4848
<url>
4949
<loc>None</loc>
50-
<lastmod>2022-04-09</lastmod>
50+
<lastmod>2022-04-14</lastmod>
5151
<changefreq>daily</changefreq>
5252
</url>
5353
<url>
5454
<loc>None</loc>
55-
<lastmod>2022-04-09</lastmod>
55+
<lastmod>2022-04-14</lastmod>
5656
<changefreq>daily</changefreq>
5757
</url>
5858
<url>
5959
<loc>None</loc>
60-
<lastmod>2022-04-09</lastmod>
60+
<lastmod>2022-04-14</lastmod>
6161
<changefreq>daily</changefreq>
6262
</url>
6363
<url>
6464
<loc>None</loc>
65-
<lastmod>2022-04-09</lastmod>
65+
<lastmod>2022-04-14</lastmod>
6666
<changefreq>daily</changefreq>
6767
</url>
6868
<url>
6969
<loc>None</loc>
70-
<lastmod>2022-04-09</lastmod>
70+
<lastmod>2022-04-14</lastmod>
7171
<changefreq>daily</changefreq>
7272
</url>
7373
<url>
7474
<loc>None</loc>
75-
<lastmod>2022-04-09</lastmod>
75+
<lastmod>2022-04-14</lastmod>
7676
<changefreq>daily</changefreq>
7777
</url>
7878
<url>
7979
<loc>None</loc>
80-
<lastmod>2022-04-09</lastmod>
80+
<lastmod>2022-04-14</lastmod>
8181
<changefreq>daily</changefreq>
8282
</url>
8383
<url>
8484
<loc>None</loc>
85-
<lastmod>2022-04-09</lastmod>
85+
<lastmod>2022-04-14</lastmod>
8686
<changefreq>daily</changefreq>
8787
</url>
8888
<url>
8989
<loc>None</loc>
90-
<lastmod>2022-04-09</lastmod>
90+
<lastmod>2022-04-14</lastmod>
9191
<changefreq>daily</changefreq>
9292
</url>
9393
<url>
9494
<loc>None</loc>
95-
<lastmod>2022-04-09</lastmod>
95+
<lastmod>2022-04-14</lastmod>
9696
<changefreq>daily</changefreq>
9797
</url>
9898
<url>
9999
<loc>None</loc>
100-
<lastmod>2022-04-09</lastmod>
100+
<lastmod>2022-04-14</lastmod>
101101
<changefreq>daily</changefreq>
102102
</url>
103103
<url>
104104
<loc>None</loc>
105-
<lastmod>2022-04-09</lastmod>
105+
<lastmod>2022-04-14</lastmod>
106106
<changefreq>daily</changefreq>
107107
</url>
108108
<url>
109109
<loc>None</loc>
110-
<lastmod>2022-04-09</lastmod>
110+
<lastmod>2022-04-14</lastmod>
111111
<changefreq>daily</changefreq>
112112
</url>
113113
<url>
114114
<loc>None</loc>
115-
<lastmod>2022-04-09</lastmod>
115+
<lastmod>2022-04-14</lastmod>
116116
<changefreq>daily</changefreq>
117117
</url>
118118
<url>
119119
<loc>None</loc>
120-
<lastmod>2022-04-09</lastmod>
120+
<lastmod>2022-04-14</lastmod>
121121
<changefreq>daily</changefreq>
122122
</url>
123123
</urlset>

sitemap.xml.gz

0 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)