This commit is contained in:
krahets
2024-05-02 01:46:20 +08:00
parent 5e90519796
commit 23353e7960
324 changed files with 420 additions and 419 deletions

View File

@ -3729,7 +3729,7 @@
<!-- Page content -->
<h1 id="24-space-complexity">2.4 &nbsp; Space complexity<a class="headerlink" href="#24-space-complexity" title="Permanent link">&para;</a></h1>
<p>"Space complexity" is used to measure the growth trend of the memory space occupied by an algorithm as the amount of data increases. This concept is very similar to time complexity, except that "running time" is replaced with "occupied memory space".</p>
<p><u>Space complexity</u> is used to measure the growth trend of the memory space occupied by an algorithm as the amount of data increases. This concept is very similar to time complexity, except that "running time" is replaced with "occupied memory space".</p>
<h2 id="241-space-related-to-algorithms">2.4.1 &nbsp; Space related to algorithms<a class="headerlink" href="#241-space-related-to-algorithms" title="Permanent link">&para;</a></h2>
<p>The memory space used by an algorithm during its execution mainly includes the following types.</p>
<ul>
@ -5955,7 +5955,7 @@ aria-label="Footer"
<div class="md-copyright">
<div class="md-copyright__highlight">
Copyright &copy; 2022-2024 krahets<br>The website content is licensed under <a href="https://creativecommons.org/licenses/by-nc-sa/4.0/">CC BY-NC-SA 4.0</a>
Copyright &copy; 2024 krahets<br>The website content is licensed under <a href="https://creativecommons.org/licenses/by-nc-sa/4.0/">CC BY-NC-SA 4.0</a>
</div>