mirror of
https://github.com/krahets/hello-algo.git
synced 2026-07-08 03:56:47 +08:00
deploy
This commit is contained in:
@@ -4501,7 +4501,7 @@
|
||||
|
||||
<!-- Page content -->
|
||||
<h1 id="43-list">4.3 List<a class="headerlink" href="#43-list" title="Permanent link">¶</a></h1>
|
||||
<p><u>A list</u> is an abstract data structure that represents an ordered collection of elements. It supports operations such as element access, modification, insertion, deletion, and traversal, without requiring users to worry about capacity limits. Lists can be implemented using linked lists or arrays.</p>
|
||||
<p>A <u>list</u> is an abstract data structure concept that represents an ordered collection of elements, supporting operations such as element access, modification, insertion, deletion, and traversal, without requiring users to consider capacity limitations. Lists can be implemented based on linked lists or arrays.</p>
|
||||
<ul>
|
||||
<li>A linked list can naturally be viewed as a list: it supports insertion, deletion, search, and update, and can grow flexibly as needed.</li>
|
||||
<li>An array also supports insertion, deletion, search, and update, but because its length is fixed, it can only be regarded as a list with a capacity limit.</li>
|
||||
|
||||
Reference in New Issue
Block a user