1 / 8

CS 330: Algorithms Pre-Quiz Summary

CS 330: Algorithms Pre-Quiz Summary. Gene Itkis. Summary. Analysis of Algorithms O, o, , ,  Correctness proofs Invariants Recurrence Relations Master method Specific algorithms General approaches/techniques. Specific Algorithms. Sorting Selection Insertion [Bubble] Mergesort

Télécharger la présentation

CS 330: Algorithms Pre-Quiz Summary

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. CS 330: AlgorithmsPre-Quiz Summary Gene Itkis

  2. Summary • Analysis of Algorithms • O, o, , ,  • Correctness proofs • Invariants • Recurrence Relations • Master method • Specific algorithms • General approaches/techniques Gene Itkis

  3. Specific Algorithms • Sorting • Selection • Insertion • [Bubble] • Mergesort • QuickSort • Randomized • PQ-sort • 2-Heaps • Leftist Heaps Gene Itkis

  4. Specific Algorithms • Sorting (continued) • Special sorting algorithms • Each makes special assumption on the input!!! • Radix • Bucket • Counting • Lower bounds • Comparison-only sorting algorithms: (n lg n) Gene Itkis

  5. Specific Algorithms • Order statistic • QuickSelect Gene Itkis

  6. Techniques/Approaches • Greedy • Selection and Insertion sorts • Divide & Concur • Merge and Quick sorts • Binary search • “Data Structure” • PQ-sort Gene Itkis

  7. Performance • Worst case • Best case • Expected • Probability distribution on inputs • Probability distribution on internal coin-flips • Randomized vs. deterministic algorithms • Special assumptions on input Gene Itkis

  8. Quiz • NEXT CLASS • Closed book • 1 page crib sheet • Good luck! Gene Itkis

More Related