Linked Lists Flashcards

1
Q

Do all programming languages provide the list data structure

A

No, not all. Python does.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is the name of the containers that store the element in a linked list

A

Node

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What does RAM stand for

A

Random Access Memory

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

what does the element stand for in this context

A

the item that is stored in the linked list node

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Within the SLinkedListNode class, what do the parameters InitData and InitNext stand for?

A

InitData: element that will be stored within the node
InitNext: the next node that will be linked to the one created

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What are the instances variables present in a SLinkedList

A

self. head

self. size

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What does the Node class create? What is the language used to communicate with it?

A

The node with its item/data and the link to the next

You can communicate with Node by using getNext,get data, ……

How well did you know this?
1
Not at all
2
3
4
5
Perfectly