# CS 330: Algorithms Pre-Quiz Summary - PowerPoint PPT Presentation

PPT – CS 330: Algorithms Pre-Quiz Summary PowerPoint presentation | free to download - id: 771d68-OTM0O

The Adobe Flash plugin is needed to view this content

Get the plugin now

View by Category
Title:

## CS 330: Algorithms Pre-Quiz Summary

Description:

### CS 330: Algorithms Pre-Quiz Summary Gene ... techniques Specific Algorithms Sorting ... and Quick sorts Binary search Data Structure PQ-sort Performance Worst ... – PowerPoint PPT presentation

Number of Views:1
Avg rating:3.0/5.0
Slides: 9
Provided by: Itk97
Category:
Tags:
Transcript and Presenter's Notes

Title: CS 330: Algorithms Pre-Quiz Summary

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

3
Specific Algorithms
• Sorting
• Selection
• Insertion
• Bubble
• Mergesort
• QuickSort
• Randomized
• PQ-sort
• 2-Heaps
• Leftist Heaps

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

5
Specific Algorithms
• Order statistic
• QuickSelect

6
Techniques/Approaches
• Greedy
• Selection and Insertion sorts
• Divide Concur
• Merge and Quick sorts
• Binary search
• Data Structure
• PQ-sort

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

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