

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!


QuickSort - โโAverage TC: ๐(n log n) Worst-case TC: ๐(nยฒ) SC: O(n) RandomSelect - โโTC: ๐(n) SC: O(n) MoMSelect - โโTC: O(n) SC: O(n) MoMSort - โโTC: O(n log n) SC: O(n) LinearSearch - โโTC: ๐(n) SC: O(n) BinarySearch - โโTC: O(log n) SC: O(n) HeapSort - โโTC: O(n log n) SC: O(n)
BuildHeap - โโTC: O(n) SC: O(1) MergeSort - โโTC: O(n log n) SC: O(n) InsertionSort - โโTC: O(nยฒ) SC: O(1) Graph-Traversal Algorithms (BFS/DFS/SCCFinder/TopologicalSort) - โโTC: O(|V|