Sorting

Sorting
Insertion and Selection Sort
- Selection sort finds the largest element in the array and exchanges it with the element in...}

Sorting
Exchange sort
- In bubble sort, at each pass, the largest unsorted item will be pushed in its proper place....}

Sorting
Merge and Radix Sort
- A divide and conquer algorithm works by recursively breaking down a problem into two or mor...}

Sorting
Shell sort
- Shell sort works by comparing elements that are distinct rather than adjacent elements in a...}

Sorting
Heap Sort as a Priority Queue
- In a heap, the largest/smallest node in the tree is always the root.
- A heap...}

Sorting
Big ‘O’ notation and Efficiency of sorting
- In computer science, Big O notation is used to classify and analyse algorithms by how...}