mirror of
https://github.com/krahets/hello-algo.git
synced 2025-07-25 19:22:27 +08:00
Unify the headings in mkdocs.yml and the articles.
This commit is contained in:
@ -1,4 +1,4 @@
|
||||
# 数组
|
||||
# 数组(Array)
|
||||
|
||||
「数组 Array」是一种将 **相同类型元素** 存储在 **连续内存空间** 的数据结构,将元素在数组中的位置称为元素的「索引 Index」。
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
# 链表
|
||||
# 链表(Linked List)
|
||||
|
||||
!!! note "引言"
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
# 列表
|
||||
# 列表(List)
|
||||
|
||||
**由于长度不可变,数组的实用性大大降低**。在很多情况下,我们事先并不知道会输入多少数据,这就为数组长度的选择带来了很大困难。长度选小了,需要在添加数据中频繁地扩容数组;长度选大了,又造成内存空间的浪费。
|
||||
|
||||
|
Reference in New Issue
Block a user