Module 3: Linked List Flashcards
1
Q
is a series of connected
nodes, where each node is a data
structure.
A
linked list
2
Q
can grow or shrink in
size as the program runs
A
linked list
3
Q
Insertion and deletion of nodes is
quicker with X than with Y
A
linked lists
vectors.
4
Q
each node in a linked list contains one or mode members that represent X and also a Y
A
data
pointer
5
Q
linked list is called “linked” because each
node in the series has a X that points to
the next node in the list.
A
pointer
6
Q
in declaring a list, what should you do first
A
declare a data structure that will be
used for the nodes.
7
Q
head pointer is declared as a X
A
global variable
8
Q
head
is automatically initialized to X, which
indicates that the list is Y
A
0 (NULL)
empty.