Remove the file headers from the docs.

This commit is contained in:
krahets
2023-02-26 02:19:40 +08:00
parent 2b33f7bc5f
commit b25aadae6f
44 changed files with 0 additions and 176 deletions

View File

@@ -1,7 +1,3 @@
---
comments: true
---
# 数组
「数组 Array」是一种将 **相同类型元素** 存储在 **连续内存空间** 的数据结构,将元素在数组中的位置称为元素的「索引 Index」。

View File

@@ -1,7 +1,3 @@
---
comments: true
---
# 链表
!!! note "引言"

View File

@@ -1,7 +1,3 @@
---
comments: true
---
# 列表
**由于长度不可变,数组的实用性大大降低**。在很多情况下,我们事先并不知道会输入多少数据,这就为数组长度的选择带来了很大困难。长度选小了,需要在添加数据中频繁地扩容数组;长度选大了,又造成内存空间的浪费。

View File

@@ -1,7 +1,3 @@
---
comments: true
---
# 小结
- 数组和链表是两种基本数据结构,代表了数据在计算机内存中的两种存储方式,即连续空间存储和离散空间存储。两者的优点与缺点呈现出此消彼长的关系。