mirror of
https://github.com/krahets/hello-algo.git
synced 2026-09-04 22:27:16 +00:00
deploy
This commit is contained in:
@@ -3697,7 +3697,7 @@
|
||||
<p>如图 1-4 所示,数据结构与算法高度相关、紧密结合,具体表现在以下三个方面。</p>
|
||||
<ul>
|
||||
<li>数据结构是算法的基石。数据结构为算法提供了结构化存储的数据,以及操作数据的方法。</li>
|
||||
<li>算法是数据结构发挥作用的舞台。数据结构本身仅存储数据信息,结合算法才能解决特定问题。</li>
|
||||
<li>算法为数据结构注入生命力。数据结构本身仅存储数据信息,结合算法才能解决特定问题。</li>
|
||||
<li>算法通常可以基于不同的数据结构实现,但执行效率可能相差很大,选择合适的数据结构是关键。</li>
|
||||
</ul>
|
||||
<p><a class="glightbox" href="../what_is_dsa.assets/relationship_between_data_structure_and_algorithm.png" data-type="image" data-width="100%" data-height="auto" data-desc-position="bottom"><img alt="数据结构与算法的关系" class="animation-figure" src="../what_is_dsa.assets/relationship_between_data_structure_and_algorithm.png" /></a></p>
|
||||
|
||||
Reference in New Issue
Block a user