












































Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
An overview of various sorting algorithms, their time complexities, and their relative performance. Topics include big-o analysis, comparison of o(n^2) algorithms like bubble sort, selection sort, and insertion sort, and comparison of o(n log n) algorithms like heap sort, merge sort, and quick sort. The document also discusses the advantages and disadvantages of each algorithm.
Typology: Slides
1 / 52
This page cannot be seen from the preview
Don't miss anything!













































Refresher on Big-O
O(N log N) vs. O(N^2) 0 5000 10000 15000 20000 0 1000 O(N log N) O(N^2)
Two Common Categories Sorting Algorithms of O(N^2)
O(N^2) Sorts
Bubble Sort
Selection Sort
Insertion Sort
O(N log N) Sorts
Heap Sort