Syllabus for Test4
-
The substitution method of solving recurrence.
-
Sorting algorithm basics (terminology, like in-place, stable, etc.).
-
A comparative view on all sorting algorithms discussed in the class.
-
Definition of binary heaps (both max amd min heaps).
-
Heapify operations in a binary heap.
-
Buildheap operations in a binary heap.
-
HeapFindMax operations in a binary heap.
-
HeapExtractMax operations in a binary heap.
-
HeapIncreaseKey operations in a binary heap.
-
HeapInsert operations in a binary heap.
-
The heapsort algorithm.
-
Priority queues.
-
The quicksort algorithm.
-
Best case and worste case running time of the quicksort.
-
Lower bounds for comparison based sorting.