linked lists Flashcards
how is a linked list constructed
from a series of nodes
what is a node
distinct object that contains both data, reference (pointer) to the next node
what is a difference between an array and a linked list
array: each element resides in a particular position which can be directly accessed using an index
linked list: a particular element can only be accessed by following the references (pointers) of all the previous element
what is logical representation
how the data, links are seen by the programmer
what is physical representation
underlying mechanisms that store the data in RAM
what does physical representation include
details like memory addresses, type of data, number of bytes used, the way the pointers are handled