This preview shows pages 1–2. Sign up to view the full content.
This preview has intentionally blurred sections. Sign up to view the full version.View Full Document
Unformatted text preview: Time the algorithms Import time Start = time.time() End = time.time() totalTime = end - start What is Computer Science? The Organization of Data, and Searching CompSci 6 Fall 2011 5 Now lets focus on searching Linear Search linear_search1 linear_search2 linear_search3 Compare and time three methods Binary search algorithm Tradeoff data must be sorted to use Binary Search 3 7 8 10 13 18 21 22 25 34 37 42 44 46 49 Welcome Victoria Interrante Associate Professor University of Minnesota Ph.D. UNC-Chapel Hill, 1996 Research in Graphics and Visualization...
View Full Document
This document was uploaded on 01/17/2012.
- Fall '09