- Study guides, Revision notes & Summaries
Looking for the best study guides, study notes and summaries about ? On this page you'll find 1 study documents about .
1 results
Exam (elaborations)
Lecture 5 |Master Theorem
Proof in the general case 
[see image] 
 
Statement of Master Theorem 
[see statement on image] 
 
 
Closest pair of points: naive method 
Compute all O(n^2) pairwise distances, return pair with smallest 
Closest pair DAC method 
split points into left and write, then solve both subproblems and recombine 
Closest pair: Sorting by x-coordinate and cutting in the middle - complexity (time) 
O(n log n) 
Closest pair: naive recombination 
O(n^2) pairs (left, right) 
Closest pair, recombination: 1s...