Lecture 6 Flashcards
What is a pointer?
What are the two operations of dynamic sets?
What is an array?
What are the costs of operations of sorted/unsorted arrays?
What is a stack?
What is a queue?
What is a (singly/doubly) linked list?
What are the costs of operations for linked lists?
What is a hash table? What is the main idea?
When can we used direct addressing for hash table? How does direct addressing work?
What is the runtime of a hash table with direct addressing for the different operations?
What is the disadvantage of direct addressing hash table?
What is a hash function?
What is a collision in a hash table? How can this be solved?
What is chaining?
What are the runtimes for operations of a hash table when using chaining?
What is the worst case runtime for search in a hash table using chaining?
What is universal hashing?
What is the definition of the universal hash function?
What is the expected runtime for universal hashing with chaining? How is it calculated?
What is a well-known universal hash function?