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

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

View Full Document Right Arrow Icon
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
Background image of page 1

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

View Full DocumentRight Arrow Icon
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
Background image of page 2
(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) =
Background image of page 3

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

View Full DocumentRight Arrow Icon
(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?
Background image of page 4
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, _____}.
Background image of page 5

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

View Full DocumentRight Arrow Icon
Disjoint Sets ADT We will implement a data structure in support of “Disjoint Sets”: Maintains a collection S = {s 0 , s 1 , … s
Background image of page 6
Image of page 7
This is the end of the preview. Sign up to access the rest of the document.

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 Right Arrow Icon
Ask a homework question - tutors are online