<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>Data Structure - 分类 - Victor's Code Journey</title><link>http://www.victorchu.info/categories/data-structure/</link><description>Data Structure - 分类 - Victor's Code Journey</description><generator>Hugo -- gohugo.io</generator><language>zh-cn</language><managingEditor>victorchu0610@outlook.com (victorchutian)</managingEditor><webMaster>victorchu0610@outlook.com (victorchutian)</webMaster><lastBuildDate>Wed, 15 Nov 2017 10:21:39 +0800</lastBuildDate><atom:link href="http://www.victorchu.info/categories/data-structure/" rel="self" type="application/rss+xml"/><item><title>数据结构-数组</title><link>http://www.victorchu.info/posts/2017/11/23e3ed9/</link><pubDate>Wed, 15 Nov 2017 10:21:39 +0800</pubDate><author><name>victorchutian</name></author><guid>http://www.victorchu.info/posts/2017/11/23e3ed9/</guid><description><![CDATA[<div class="featured-image">
                <img src="/feature-images/struct.webp" referrerpolicy="no-referrer">
            </div><p>数组是使用最广泛的基础数据结构。数组是存放在连续内存空间上的相同类型数据的集合，可以方便的通过数字索引的方式获取到索引所对应的数据。需要注意的是数组的索引都是从0开始计算的。下图就是长度为3的字符数组的例子。</p>
<table>
  <thead>
      <tr>
          <th style="text-align: left">内存地址</th>
          <th style="text-align: left">1001</th>
          <th style="text-align: left">1002</th>
          <th style="text-align: left">1003</th>
      </tr>
  </thead>
  <tbody>
      <tr>
          <td style="text-align: left">数组元素</td>
          <td style="text-align: left">&lsquo;a&rsquo;</td>
          <td style="text-align: left">&lsquo;b&rsquo;</td>
          <td style="text-align: left">&lsquo;c&rsquo;</td>
      </tr>
      <tr>
          <td style="text-align: left">数组索引</td>
          <td style="text-align: left">0</td>
          <td style="text-align: left">1</td>
          <td style="text-align: left">2</td>
      </tr>
  </tbody>
</table>
<p>假设一个数组，其元素按照值的固定顺序排序(升序或降序)，那么这种数组被称为有序数组。在实际的算法使用中常常会对数组先进行排序，然后在进行处理。</p>]]></description></item><item><title>数据结构简介</title><link>http://www.victorchu.info/posts/2017/11/2654109c/</link><pubDate>Mon, 13 Nov 2017 10:21:39 +0800</pubDate><author><name>victorchutian</name></author><guid>http://www.victorchu.info/posts/2017/11/2654109c/</guid><description><![CDATA[<div class="featured-image">
                <img src="/feature-images/struct.webp" referrerpolicy="no-referrer">
            </div><div class="details admonition note open">
    <div class="details-summary admonition-title">
        <span class="icon"><svg class="icon"
    xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><!-- Font Awesome Free 5.15.4 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) --><path d="M497.9 142.1l-46.1 46.1c-4.7 4.7-12.3 4.7-17 0l-111-111c-4.7-4.7-4.7-12.3 0-17l46.1-46.1c18.7-18.7 49.1-18.7 67.9 0l60.1 60.1c18.8 18.7 18.8 49.1 0 67.9zM284.2 99.8L21.6 362.4.4 483.9c-2.9 16.4 11.4 30.6 27.8 27.8l121.5-21.3 262.6-262.6c4.7-4.7 4.7-12.3 0-17l-111-111c-4.8-4.7-12.4-4.7-17.1 0zM124.1 339.9c-5.5-5.5-5.5-14.3 0-19.8l154-154c5.5-5.5 14.3-5.5 19.8 0s5.5 14.3 0 19.8l-154 154c-5.5 5.5-14.3 5.5-19.8 0zM88 424h48v36.3l-64.5 11.3-31.1-31.1L51.7 376H88v48z"/></svg></span>未完待续<span class="details-icon"><svg class="icon"
    xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 512"><!-- Font Awesome Free 5.15.4 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) --><path d="M224.3 273l-136 136c-9.4 9.4-24.6 9.4-33.9 0l-22.6-22.6c-9.4-9.4-9.4-24.6 0-33.9l96.4-96.4-96.4-96.4c-9.4-9.4-9.4-24.6 0-33.9L54.3 103c9.4-9.4 24.6-9.4 33.9 0l136 136c9.5 9.4 9.5 24.6.1 34z"/></svg></span>
    </div>
    <div class="details-content">
        <div class="admonition-content">持续更新中&hellip;</div></div></div>
<p>本文是数据结构的相关简介。</p>]]></description></item></channel></rss>