Lecture 6 Flashcards
1
Q
What is a pointer?
A
2
Q
What are the two operations of dynamic sets?
A
3
Q
What is an array?
A
4
Q
What are the costs of operations of sorted/unsorted arrays?
A
5
Q
What is a stack?
A
6
Q
What is a queue?
A
7
Q
What is a (singly/doubly) linked list?
A
8
Q
What are the costs of operations for linked lists?
A
9
Q
What is a hash table? What is the main idea?
A
10
Q
When can we used direct addressing for hash table? How does direct addressing work?
A
11
Q
What is the runtime of a hash table with direct addressing for the different operations?
A
12
Q
What is the disadvantage of direct addressing hash table?
A
13
Q
What is a hash function?
A
14
Q
What is a collision in a hash table? How can this be solved?
A
15
Q
What is chaining?
A