vimwiki/tech/array.wiki

17 lines
310 B
Plaintext

= Array =
A sequential data structure of consecutive items. Fixed length (usually).
== Good for ==
* Fixed size sets of data
* Acessing an index in O(1)
* Data that doesnt change often
== Bad for ==
* Data that will change sizes often
* Data when you need to search by contents, not index
[[algorithms]]