2.3.1 stacks and queues Flashcards

1
Q

QUEUES

A

Queues is a type of list where data is inserted at one end and retrieved from the other end.

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

FIFO

A

Queues are known as FIFO data structure, first in first out!

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

STACK

A

stack is a list which is limited to only allow data to be inserted and retrieved from the same end.

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

LIFO

A

stacks are known as last in first out!

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