August 2024
Intermediate to advanced
516 pages
11h 47m
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, under the hood there are big differences.
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