Chapter 11. Heaps
1.
Define
and recognize a heap, represented either in array or tree
2.
Perform
trickle up and trickle down in a tree/array
3.
Write
a source code of trickleUp method and trickledown
method using an array data.
4.
Simulate
removing largest (smallest) element from a heap
5.
Simulate
creating a heap from an array, showing tree transformation
6.
Simulate
inserting into heap
7.
heapsort
§ simulate in an array
§ state and explain performance
§ describe relation to selection sort
8.
Code
for insert, remove, trickle up/down, reheapify, heapsort
Chapter 12. Hash tables
1.
Operations:
list and simulate insert, search (successful and unsuccessful), delete
2.
State
and explain average case performance of operations under uniform hashing
assumption
3.
Explain
motivation for hash tables and contrast their performance with other lookup
methods
4.
Define
Collisions
5.
Open
addressing:
§ Define and trace operation of 3 kinds (Practice
the following operations using an example with an array.)
9.
Separate
chaining
§ Define and trace operations