What is an Array?
Автор: CodewKai
Загружено: 2024-10-09
Просмотров: 1831
Описание:
Arrays are one of the most fundamental data structures which every coder must understand to its fullest. Arrays are very commonly used because they are simply a collection of a lot of a specific datatype and are always very easy to set up.
Examples of valid arrays would be:
[1, 2, 3]
["a", "b", "c"]
[1.5, 2.5, 3.5]
Invalid arrays include:
[1, "a", 3.5]
[1.2, 4, 7, 9]
When you use an array you have to call it by an index to specify which element in the array you want to access. However, there is another way to access elements in arrays using pointers/iterators in low-level programming languages.
Let me know in the comments if you want a video about iterators and how you could possibly use them in algorithms to make them more efficient.
Повторяем попытку...
Доступные форматы для скачивания:
Скачать видео
-
Информация по загрузке: