Computer Science 302
Data Structures
CSC 302 Study Guide for the Second
Midterm Examination Spring 2006, April 6
-
Review your homework assignments.
-
There will be true/false questions.
-
There will be some fill-in-the-blank questions.
-
Dijkstra's Algorithm an example.
-
Work a min-plus matrix multiplication problem.
-
Questions about preorder, postorder, etc.
-
Work an example using polyphase mergesort.
-
Possibly a question to see whether you understand
-
Heapsort
-
Quicksort
-
Kruskal's Algorithm
-
Loop invariants (example)
-
Hashing
-
Separate chaining, vs. What?
-
What makes a good hash function?
-
Perfect Hashing ... when would you use it?
-
Graphs
-
Components and strong components
-
Cycles and directed cycles
-
Neighbor list representations and matrix representations
-
Sparse graphs
(Are planar graphs sparse?)
-
Dynamic programming an example problem
-
Greedy Algorithms
-
When is Greedy good? Bad?
-
Huffman's algorithm for prefix coding
-
Kruskal's algorithm