This commit is contained in:
krahets
2023-02-28 20:03:53 +08:00
parent 10903b2781
commit dabe5d5c24
11 changed files with 21 additions and 21 deletions

View File

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