Deck 16: Linked Lists
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Unlock Deck
Sign up to unlock the cards in this deck!
Unlock Deck
Unlock Deck
1/17
Play
Full screen (f)
Deck 16: Linked Lists
1
What are the two components of a node in a linked list?
The data and a link to the next node in the list
2
The address of the first node in a list is stored in a separate location, called the ____________________.
head, first
3
The data type of a node pointer is the node type itself.
True
4
The link of the last node in a linked list has the value ____________________.
Unlock Deck
Unlock for access to all 17 flashcards in this deck.
Unlock Deck
k this deck
5
In general, what are the two types of linked lists?
Unlock Deck
Unlock for access to all 17 flashcards in this deck.
Unlock Deck
k this deck
6
The node of a linked list is implemented as a(n) ____________________ in this chapter.
Unlock Deck
Unlock for access to all 17 flashcards in this deck.
Unlock Deck
k this deck
7
The linkedListType class presented in this chapter has two member variables.
Unlock Deck
Unlock for access to all 17 flashcards in this deck.
Unlock Deck
k this deck
8
What operations does the unorderedLinkedList class in this chapter implement?
Unlock Deck
Unlock for access to all 17 flashcards in this deck.
Unlock Deck
k this deck
9
The deleteNode function of an unordered list considers ____________________ general cases.
Unlock Deck
Unlock for access to all 17 flashcards in this deck.
Unlock Deck
k this deck
10
Define a circular linked list.
Unlock Deck
Unlock for access to all 17 flashcards in this deck.
Unlock Deck
k this deck
11
The list implementations in this chapter use a binary search algorithm for the search function.
Unlock Deck
Unlock for access to all 17 flashcards in this deck.
Unlock Deck
k this deck
12
What does these terms refer to:
- Circular linked list:
- Circular linked list:
Unlock Deck
Unlock for access to all 17 flashcards in this deck.
Unlock Deck
k this deck
13
What does these terms refer to:
- Head (first):
- Head (first):
Unlock Deck
Unlock for access to all 17 flashcards in this deck.
Unlock Deck
k this deck
14
What does these terms refer to:
- Iterator:
- Iterator:
Unlock Deck
Unlock for access to all 17 flashcards in this deck.
Unlock Deck
k this deck
15
What does these terms refer to:
- Link:
- Link:
Unlock Deck
Unlock for access to all 17 flashcards in this deck.
Unlock Deck
k this deck
16
What does these terms refer to:
- Linked list:
- Linked list:
Unlock Deck
Unlock for access to all 17 flashcards in this deck.
Unlock Deck
k this deck
17
What does these terms refer to:
- Nodes:
- Nodes:
Unlock Deck
Unlock for access to all 17 flashcards in this deck.
Unlock Deck
k this deck