Beruflich Dokumente
Kultur Dokumente
2. Analysis of Insertion Sort Types of Analysis: Worst case, Best case and
Average case. Machine dependency, Asymptotic
Notation, Big-Theta.
4. Recurrence of Merge Sort Merge sort, run time of merge sort, recurrence,
Recursive tree.
11. Analysis of Quicksort. Pseudo code for Quicksort, worst case, best cast,
almost best case, good pivot, bad pivot.
12. Randomized Quicksort More analysis on Quicksort, problem with fixing
the position of the pivot element, choosing the
pivot element randomly, Randomised Quicksort,
Average case analysis, Expected runtime of
Randomized Quicksort.
15. Decision Tree How fast we can sort? worst case runtime of
Comparison based sorting algorithms, Decision
Tree model.
17. Radix Sort & Bucket Sort Radix sort, digit-by-digit sort, Analysis of Radix
Sort, bucket sort, analysis of bucket sort.
18. Order Statistics Finding the i-th smallest element from a given n
numbers, minimum, maximum, median, Naive
approach, partition, select algorithm, analysis of
select algorithm, worst case runtime of select
20. Worst case linear time order statistics Good pivot, generate the good pivot recursively,
SELECT algorithm, worst case runtime.
21. Hash Function Symbol table problem, Direct access table, Hash
function, collision, resolving collision by
chaining, analysis of chaining.
25. Binary Search Tree (BST) Sort Binary search tree (BST), build BST, inoder-
tree-walk, BST sort, runtime of BST sort,
relationship between BST sort and Quick Sort
26. Randomly build BST Randomised BST sort, randomly build BST,
expected height of a randomly build BST
27. Red Black Tree Balanced binary search tree, Red Black Tree,
Black height, red black tree is balanced.
28. Red Black Tree (Cont...) Modifying operation, re-coloring, rotations, red
black tree insertion.
32. Van Emde Boas data structure Fixed-universe success problem, bit vector, one-
dimensional array, two dimensional array,
augmenting the data structure, non-empty bits,
more augmentations, maximum bits and
minimum bits.
33. Amortized analysis How large should a hash table be? Dynamic
table, overflow, worst case analysis, tighter
analysis, amortized analysis.
35. Computational Geometry (cont....) 1D range query, split node, 2D range tree, 2D
range query, line segment intersections, sweep
lines.
42. Shortest path problem Path in a graph, shortest path, weight of shortest
path, existence of shortest path, negative weight
cycle, optimal substructure, triangular inequality.
48. All pairs shortest path All pairs shortest paths, adjacency matrix,
Bellman Ford, O(n^4), dynamic programming.
49. Floyd-Warshall Dynamic programming, matrix multiplication,
O(n^3 log n), Floyd Warshall, O(n^3).
53. Disjoint set data structure Dynamic collection of pair wise disjoint sets,
MAKE-SET, UNION, FIND_SET.
54. Find-Union