Ch2 Flashcards
1
Q
Arrays vs linked lists reads
A
Array O(1)
List O (N)
2
Q
Array vs linked list inserts and deletes
A
List O(1) for first and last items
Array O(n)
Algorithms > Ch2 > Flashcards
Arrays vs linked lists reads
Array O(1)
List O (N)
Array vs linked list inserts and deletes
List O(1) for first and last items
Array O(n)