Notes From Section up to Midterm Flashcards

1
Q

Calculating amortized aggragate analysis of Dynamic Array Insert

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

Dynamic Array Operations

A

Get, Set, Insert, Remove

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

What to track for Dynamic Array

A

Data, Size, capacity

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

Bag ADT operations

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

What is encapsulation

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

What are iterators?

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

What are the required operations for linked lists?

A

As well as remove.

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

What is a doubly linked list?

A

A linked list that keeps track of the previous and next nodes

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

What is another name for a linked list sentinel?

A

headers

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

What are the required operations for stacks?

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

What are the required operations for queue?

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

What are the required operations for a deque?

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