Skip to content

Commit

Permalink
Update 01.Array-Basic.md
Browse files Browse the repository at this point in the history
  • Loading branch information
itcharge committed Dec 8, 2021
1 parent 99df3c9 commit 81e4fbd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Contents/01.Array/01.Array-Basic/01.Array-Basic.md
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ print(arr)

## 3. 数组总结

数组是最基础、最简单的数据结构。数组是相同类型的数据元素构成的有序集合。它使用一组连续的内存空间,来存储一组具有相同类型的数据。
数组是最基础、最简单的数据结构。数组是实现线性表的顺序结构存储的基础。它使用一组连续的内存空间,来存储一组具有相同类型的数据。

数组的最大特点的支持随机访问。其访问元素、改变元素的时间复杂度为 $O(1)$,在尾部插入、删除元素的时间复杂度也是 $O(1)$,普通情况下插入、删除元素的时间复杂度为 $O(n)$。

Expand Down

0 comments on commit 81e4fbd

Please sign in to comment.