August 2020
Intermediate to advanced
508 pages
11h 53m
English
The array is one of the most basic data structures in computer science. I assume you have worked with arrays before, so you are aware that an array is a list of data elements. The array is versatile, and can serve as a useful tool in many situations, but let’s take a look at one quick example.
If you are looking at the source code for an application that allows users to create and use shopping lists for the grocery store, you might find code like this:
| | array = ["apples", "bananas", "cucumbers", "dates", "elderberries"] |
This array happens to contain five strings, each representing something that I might buy at the supermarket. (You’ve got to try elderberries.)
Arrays come with their own technical jargon. ...
Read now
Unlock full access