Ch2 Flashcards

1
Q

Arrays vs linked lists reads

A

Array O(1)
List O (N)

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

Array vs linked list inserts and deletes

A

List O(1) for first and last items
Array O(n)

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