mirror of
https://github.com/krahets/hello-algo.git
synced 2026-08-27 02:27:12 +00:00
deploy
This commit is contained in:
@@ -3761,7 +3761,7 @@ aria-label="Footer"
|
||||
<div class="md-copyright">
|
||||
|
||||
<div class="md-copyright__highlight">
|
||||
Copyright © 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 © 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>
|
||||
|
||||
|
||||
|
||||
@@ -3723,7 +3723,7 @@ aria-label="Footer"
|
||||
<div class="md-copyright">
|
||||
|
||||
<div class="md-copyright__highlight">
|
||||
Copyright © 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 © 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>
|
||||
|
||||
|
||||
|
||||
@@ -3713,7 +3713,7 @@ aria-label="Footer"
|
||||
<div class="md-copyright">
|
||||
|
||||
<div class="md-copyright__highlight">
|
||||
Copyright © 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 © 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>
|
||||
|
||||
|
||||
|
||||
@@ -3610,14 +3610,14 @@
|
||||
<!-- Page content -->
|
||||
<h1 id="12-what-is-an-algorithm">1.2 What is an algorithm<a class="headerlink" href="#12-what-is-an-algorithm" title="Permanent link">¶</a></h1>
|
||||
<h2 id="121-definition-of-an-algorithm">1.2.1 Definition of an algorithm<a class="headerlink" href="#121-definition-of-an-algorithm" title="Permanent link">¶</a></h2>
|
||||
<p>An "algorithm" is a set of instructions or steps to solve a specific problem within a finite amount of time. It has the following characteristics:</p>
|
||||
<p>An <u>algorithm</u> is a set of instructions or steps to solve a specific problem within a finite amount of time. It has the following characteristics:</p>
|
||||
<ul>
|
||||
<li>The problem is clearly defined, including unambiguous definitions of input and output.</li>
|
||||
<li>The algorithm is feasible, meaning it can be completed within a finite number of steps, time, and memory space.</li>
|
||||
<li>Each step has a definitive meaning. The output is consistently the same under the same inputs and conditions.</li>
|
||||
</ul>
|
||||
<h2 id="122-definition-of-a-data-structure">1.2.2 Definition of a data structure<a class="headerlink" href="#122-definition-of-a-data-structure" title="Permanent link">¶</a></h2>
|
||||
<p>A "data structure" is a way of organizing and storing data in a computer, with the following design goals:</p>
|
||||
<p>A <u>data structure</u> is a way of organizing and storing data in a computer, with the following design goals:</p>
|
||||
<ul>
|
||||
<li>Minimize space occupancy to save computer memory.</li>
|
||||
<li>Make data operations as fast as possible, covering data access, addition, deletion, updating, etc.</li>
|
||||
@@ -3865,7 +3865,7 @@ aria-label="Footer"
|
||||
<div class="md-copyright">
|
||||
|
||||
<div class="md-copyright__highlight">
|
||||
Copyright © 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 © 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>
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user