# lec0415-DS - Column Statistics for MT2 Score Count 232...

This preview shows pages 1–7. Sign up to view the full content.

Column Statistics for: MT2 Score Count: 232 Average: 72.6 Median: 75.0 Maximum: 100.0 Minimum: 21.0 Standard Deviation: 14.40 Hide Histogram Fewer Bars More Bars OK

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
Announcements: MP 6 available. Due 4/15, 11:59p. Exams returned in section this week. Today: Heaps fin Disjoint Sets I U L A P D N O H W E B W O N P A E H D L I U B
(min)Heap: buildHeap E B L U P D N O H W I A W O N P U I H D L E B A What’s the running time? Thm: The running time of buildHeap on an array of size n is O(n). We make an argument about h, and then substitute h = O(log 2 n). S(h): S(h) =

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
(min)Heap: heapSort E B L U P D N O H W I A W O N P U I H D L E B A Running time? Why do we need another sorting algorithm?
An example: Let R be an equivalence relation on the set of students in this room, where (s,t) R if s and t have the same favorite among {AB, FN, DJ, ZH, _____}.

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
Disjoint Sets ADT We will implement a data structure in support of “Disjoint Sets”: Maintains a collection S = {s 0 , s 1 , … s
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

### Page1 / 13

lec0415-DS - Column Statistics for MT2 Score Count 232...

This preview shows document pages 1 - 7. Sign up to view the full document.

View Full Document
Ask a homework question - tutors are online