August 2020
Intermediate to advanced
508 pages
11h 53m
English
Like an array, a linked list is a data structure that represents a list of items. While on the surface, arrays and linked lists look and act quite similarly, there are big differences under the hood.
As mentioned in Chapter 1, Why Data Structures Matter, memory inside a computer can be visualized as a giant set of cells in which bits of data are stored. You learned that when creating an array, your code finds a contiguous group of empty cells in memory and designates them to store data for your application as shown.

You also saw that the computer has the ability to access any memory address in one step, and can use that power to ...
Read now
Unlock full access