This commit is contained in:
krahets 2023-02-17 19:17:08 +08:00
parent 2fc7a54fd8
commit f832e08d9d
4 changed files with 70 additions and 121 deletions

View File

@ -364,43 +364,23 @@
<li class="md-nav__item">
<a href="#041" class="md-nav__link">
0.4.1. 修改文字与代码
0.4.1. 内容微调
</a>
</li>
<li class="md-nav__item">
<a href="#042" class="md-nav__link">
0.4.2. 修改图片与动画
0.4.2. 内容创作
</a>
</li>
<li class="md-nav__item">
<a href="#043" class="md-nav__link">
0.4.3. 创作新内容
<a href="#043-docker" class="md-nav__link">
0.4.3. Docker 部署
</a>
</li>
<li class="md-nav__item">
<a href="#044-hello-algo" class="md-nav__link">
0.4.4. 本地部署 hello-algo
</a>
<nav class="md-nav" aria-label="0.4.4. 本地部署 hello-algo">
<ul class="md-nav__list">
<li class="md-nav__item">
<a href="#docker" class="md-nav__link">
Docker
</a>
</li>
</ul>
</nav>
</li>
</ul>
@ -1562,43 +1542,23 @@
<li class="md-nav__item">
<a href="#041" class="md-nav__link">
0.4.1. 修改文字与代码
0.4.1. 内容微调
</a>
</li>
<li class="md-nav__item">
<a href="#042" class="md-nav__link">
0.4.2. 修改图片与动画
0.4.2. 内容创作
</a>
</li>
<li class="md-nav__item">
<a href="#043" class="md-nav__link">
0.4.3. 创作新内容
<a href="#043-docker" class="md-nav__link">
0.4.3. Docker 部署
</a>
</li>
<li class="md-nav__item">
<a href="#044-hello-algo" class="md-nav__link">
0.4.4. 本地部署 hello-algo
</a>
<nav class="md-nav" aria-label="0.4.4. 本地部署 hello-algo">
<ul class="md-nav__list">
<li class="md-nav__item">
<a href="#docker" class="md-nav__link">
Docker
</a>
</li>
</ul>
</nav>
</li>
</ul>
@ -1630,46 +1590,35 @@
<p class="admonition-title">开源的魅力</p>
<p>纸质书籍的两次印刷的间隔时间往往需要数年,内容更新非常不方便。</br>但在本开源 HTML 书中,内容更迭的时间被缩短至数日甚至几个小时。</p>
</div>
<p>由于作者水平有限,书中内容难免疏漏谬误,请您谅解。此外,期待您可以一同参与本书的创作。如果发现笔误、无效链接、内容缺失、文字歧义、解释不清晰、行文结构不合理等问题,请您修正内容,以帮助其他读者获取更优质的学习内容。所有 <a href="https://github.com/krahets/hello-algo/graphs/contributors">撰稿人</a> 将被展示在仓库主页,以感谢您对开源社区的无私奉献。</p>
<h2 id="041">0.4.1. 修改文字与代码<a class="headerlink" href="#041" title="Permanent link">&para;</a></h2>
<p>每个页面的右上角都有一个「编辑」按钮,你可以按照以下步骤修改文章</p>
<p>由于作者水平有限,书中内容难免疏漏谬误,请您谅解。如果发现笔误、无效链接、内容缺失、文字歧义、解释不清晰、行文结构不合理等问题,请您帮忙修正,以帮助其他读者获取更优质的学习内容。所有<a href="https://github.com/krahets/hello-algo/graphs/contributors">撰稿人</a>将被展示在仓库与网站主页,以感谢他们对开源社区的无私奉献!</p>
<h2 id="041">0.4.1. 内容微调<a class="headerlink" href="#041" title="Permanent link">&para;</a></h2>
<p>每个页面的右上角都有一个「编辑」图标,你可以按照以下步骤修改文字或代码</p>
<ol>
<li>点击编辑按钮,如果遇到提示“需要 Fork 此仓库”,请通过;</li>
<li>修改 Markdown 源文件内容;</li>
<li>在页面底部填写更改说明然后单击“Propose file change”按钮</li>
<li>页面跳转后点击“Create pull request”按钮发起拉取请求即可我会第一时间查看处理并及时更新内容。</li>
<li>修改 Markdown 源文件内容,并检查内容正确性,尽量保持排版格式统一;</li>
<li>在页面底部填写更改说明然后单击“Propose file change”按钮页面跳转后点击“Create pull request”按钮发起拉取请求即可。</li>
</ol>
<p><img alt="edit_markdown" src="../contribution.assets/edit_markdown.png" /></p>
<h2 id="042">0.4.2. 修改图片与动画<a class="headerlink" href="#042" title="Permanent link">&para;</a></h2>
<p>书中的配图无法直接修改,需要通过以下途径提出修改意见:</p>
<ol>
<li>新建一个 Issue ,将需要修改的图片复制或截图,粘贴在面板中;</li>
<li>描述图片问题,应如何修改;</li>
<li>提交 Issue 即可,我会第一时间重新画图并替换图片。</li>
</ol>
<h2 id="043">0.4.3. 创作新内容<a class="headerlink" href="#043" title="Permanent link">&para;</a></h2>
<p>如果您想要创作新内容,例如 <strong>重写章节、新增章节、修改代码、翻译代码至其他编程语言</strong> 等,那么需要实施 Pull Request 工作流程:</p>
<p>图片无法直接修改,需要通过新建 <a href="https://github.com/krahets/hello-algo/issues">Issue</a> 或评论留言来描述图片问题,我会第一时间重新画图并替换图片。</p>
<h2 id="042">0.4.2. 内容创作<a class="headerlink" href="#042" title="Permanent link">&para;</a></h2>
<p>如果您想要参与本开源项目,包括翻译代码至其他编程语言、拓展文章内容等,那么需要实施 Pull Request 工作流程:</p>
<ol>
<li>登录 GitHub ,并 Fork <a href="https://github.com/krahets/hello-algo">本仓库</a> 至个人账号;</li>
<li>进入 Fork 仓库网页,使用 <code>git clone</code> 克隆该仓库至本地;</li>
<li>在本地进行内容创作(建议通过运行测试来验证代码正确性)</li>
<li>在本地进行内容创作,并通过运行测试来验证代码正确性;</li>
<li>将本地更改 Commit ,并 Push 至远程仓库;</li>
<li>刷新仓库网页点击“Create pull request”按钮发起拉取请求Pull Request即可;</li>
<li>刷新仓库网页点击“Create pull request”按钮发起拉取请求即可</li>
</ol>
<p>非常欢迎您和我一同来创作本书!</p>
<h2 id="044-hello-algo">0.4.4. 本地部署 hello-algo<a class="headerlink" href="#044-hello-algo" title="Permanent link">&para;</a></h2>
<h3 id="docker">Docker<a class="headerlink" href="#docker" title="Permanent link">&para;</a></h3>
<p>请确保 Docker 已经安装并启动,并根据如下命令离线部署。</p>
<p>稍等片刻,即可使用浏览器打开 <code>http://localhost:8000</code> 访问本项目。</p>
<h2 id="043-docker">0.4.3. Docker 部署<a class="headerlink" href="#043-docker" title="Permanent link">&para;</a></h2>
<p>你可以使用 Docker 来部署本项目。</p>
<div class="highlight"><pre><span></span><code><a id="__codelineno-0-1" name="__codelineno-0-1" href="#__codelineno-0-1"></a>git<span class="w"> </span>clone<span class="w"> </span>https://github.com/krahets/hello-algo.git
<a id="__codelineno-0-2" name="__codelineno-0-2" href="#__codelineno-0-2"></a><span class="nb">cd</span><span class="w"> </span>hello-algo
<a id="__codelineno-0-3" name="__codelineno-0-3" href="#__codelineno-0-3"></a>
<a id="__codelineno-0-4" name="__codelineno-0-4" href="#__codelineno-0-4"></a>docker-compose<span class="w"> </span>up<span class="w"> </span>-d
<a id="__codelineno-0-3" name="__codelineno-0-3" href="#__codelineno-0-3"></a>docker-compose<span class="w"> </span>up<span class="w"> </span>-d
</code></pre></div>
<p>使用如下命令即可删除部署。</p>
<p>稍等片刻,即可使用浏览器打开 <code>http://localhost:8000</code> 访问本项目。</p>
<p>使用以下命令即可删除部署。</p>
<div class="highlight"><pre><span></span><code><a id="__codelineno-1-1" name="__codelineno-1-1" href="#__codelineno-1-1"></a>docker-compose<span class="w"> </span>down
</code></pre></div>
<p>TODO教学视频</p>

File diff suppressed because one or more lines are too long

View File

@ -2,232 +2,232 @@
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<url>
<loc>https://www.hello-algo.com/</loc>
<lastmod>2023-02-15</lastmod>
<lastmod>2023-02-17</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://www.hello-algo.com/chapter_array_and_linkedlist/array/</loc>
<lastmod>2023-02-15</lastmod>
<lastmod>2023-02-17</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://www.hello-algo.com/chapter_array_and_linkedlist/linked_list/</loc>
<lastmod>2023-02-15</lastmod>
<lastmod>2023-02-17</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://www.hello-algo.com/chapter_array_and_linkedlist/list/</loc>
<lastmod>2023-02-15</lastmod>
<lastmod>2023-02-17</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://www.hello-algo.com/chapter_array_and_linkedlist/summary/</loc>
<lastmod>2023-02-15</lastmod>
<lastmod>2023-02-17</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://www.hello-algo.com/chapter_computational_complexity/performance_evaluation/</loc>
<lastmod>2023-02-15</lastmod>
<lastmod>2023-02-17</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://www.hello-algo.com/chapter_computational_complexity/space_complexity/</loc>
<lastmod>2023-02-15</lastmod>
<lastmod>2023-02-17</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://www.hello-algo.com/chapter_computational_complexity/space_time_tradeoff/</loc>
<lastmod>2023-02-15</lastmod>
<lastmod>2023-02-17</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://www.hello-algo.com/chapter_computational_complexity/summary/</loc>
<lastmod>2023-02-15</lastmod>
<lastmod>2023-02-17</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://www.hello-algo.com/chapter_computational_complexity/time_complexity/</loc>
<lastmod>2023-02-15</lastmod>
<lastmod>2023-02-17</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://www.hello-algo.com/chapter_data_structure/classification_of_data_structure/</loc>
<lastmod>2023-02-15</lastmod>
<lastmod>2023-02-17</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://www.hello-algo.com/chapter_data_structure/data_and_memory/</loc>
<lastmod>2023-02-15</lastmod>
<lastmod>2023-02-17</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://www.hello-algo.com/chapter_data_structure/summary/</loc>
<lastmod>2023-02-15</lastmod>
<lastmod>2023-02-17</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://www.hello-algo.com/chapter_graph/graph/</loc>
<lastmod>2023-02-15</lastmod>
<lastmod>2023-02-17</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://www.hello-algo.com/chapter_graph/graph_operations/</loc>
<lastmod>2023-02-15</lastmod>
<lastmod>2023-02-17</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://www.hello-algo.com/chapter_graph/graph_traversal/</loc>
<lastmod>2023-02-15</lastmod>
<lastmod>2023-02-17</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://www.hello-algo.com/chapter_hashing/hash_collision/</loc>
<lastmod>2023-02-15</lastmod>
<lastmod>2023-02-17</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://www.hello-algo.com/chapter_hashing/hash_map/</loc>
<lastmod>2023-02-15</lastmod>
<lastmod>2023-02-17</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://www.hello-algo.com/chapter_hashing/summary/</loc>
<lastmod>2023-02-15</lastmod>
<lastmod>2023-02-17</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://www.hello-algo.com/chapter_heap/heap/</loc>
<lastmod>2023-02-15</lastmod>
<lastmod>2023-02-17</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://www.hello-algo.com/chapter_introduction/algorithms_are_everywhere/</loc>
<lastmod>2023-02-15</lastmod>
<lastmod>2023-02-17</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://www.hello-algo.com/chapter_introduction/what_is_dsa/</loc>
<lastmod>2023-02-15</lastmod>
<lastmod>2023-02-17</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://www.hello-algo.com/chapter_preface/about_the_book/</loc>
<lastmod>2023-02-15</lastmod>
<lastmod>2023-02-17</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://www.hello-algo.com/chapter_preface/contribution/</loc>
<lastmod>2023-02-15</lastmod>
<lastmod>2023-02-17</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://www.hello-algo.com/chapter_preface/installation/</loc>
<lastmod>2023-02-15</lastmod>
<lastmod>2023-02-17</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://www.hello-algo.com/chapter_preface/suggestions/</loc>
<lastmod>2023-02-15</lastmod>
<lastmod>2023-02-17</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://www.hello-algo.com/chapter_reference/</loc>
<lastmod>2023-02-15</lastmod>
<lastmod>2023-02-17</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://www.hello-algo.com/chapter_searching/binary_search/</loc>
<lastmod>2023-02-15</lastmod>
<lastmod>2023-02-17</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://www.hello-algo.com/chapter_searching/hashing_search/</loc>
<lastmod>2023-02-15</lastmod>
<lastmod>2023-02-17</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://www.hello-algo.com/chapter_searching/linear_search/</loc>
<lastmod>2023-02-15</lastmod>
<lastmod>2023-02-17</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://www.hello-algo.com/chapter_searching/summary/</loc>
<lastmod>2023-02-15</lastmod>
<lastmod>2023-02-17</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://www.hello-algo.com/chapter_sorting/bubble_sort/</loc>
<lastmod>2023-02-15</lastmod>
<lastmod>2023-02-17</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://www.hello-algo.com/chapter_sorting/insertion_sort/</loc>
<lastmod>2023-02-15</lastmod>
<lastmod>2023-02-17</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://www.hello-algo.com/chapter_sorting/intro_to_sort/</loc>
<lastmod>2023-02-15</lastmod>
<lastmod>2023-02-17</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://www.hello-algo.com/chapter_sorting/merge_sort/</loc>
<lastmod>2023-02-15</lastmod>
<lastmod>2023-02-17</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://www.hello-algo.com/chapter_sorting/quick_sort/</loc>
<lastmod>2023-02-15</lastmod>
<lastmod>2023-02-17</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://www.hello-algo.com/chapter_sorting/summary/</loc>
<lastmod>2023-02-15</lastmod>
<lastmod>2023-02-17</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://www.hello-algo.com/chapter_stack_and_queue/deque/</loc>
<lastmod>2023-02-15</lastmod>
<lastmod>2023-02-17</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://www.hello-algo.com/chapter_stack_and_queue/queue/</loc>
<lastmod>2023-02-15</lastmod>
<lastmod>2023-02-17</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://www.hello-algo.com/chapter_stack_and_queue/stack/</loc>
<lastmod>2023-02-15</lastmod>
<lastmod>2023-02-17</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://www.hello-algo.com/chapter_stack_and_queue/summary/</loc>
<lastmod>2023-02-15</lastmod>
<lastmod>2023-02-17</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://www.hello-algo.com/chapter_tree/avl_tree/</loc>
<lastmod>2023-02-15</lastmod>
<lastmod>2023-02-17</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://www.hello-algo.com/chapter_tree/binary_search_tree/</loc>
<lastmod>2023-02-15</lastmod>
<lastmod>2023-02-17</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://www.hello-algo.com/chapter_tree/binary_tree/</loc>
<lastmod>2023-02-15</lastmod>
<lastmod>2023-02-17</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://www.hello-algo.com/chapter_tree/binary_tree_traversal/</loc>
<lastmod>2023-02-15</lastmod>
<lastmod>2023-02-17</lastmod>
<changefreq>daily</changefreq>
</url>
<url>
<loc>https://www.hello-algo.com/chapter_tree/summary/</loc>
<lastmod>2023-02-15</lastmod>
<lastmod>2023-02-17</lastmod>
<changefreq>daily</changefreq>
</url>
</urlset>

Binary file not shown.