Interview Preparation Sorting

From Embedded Systems Learning Academy
Jump to: navigation, search

Sorting means arrangement of elements in a defined manner(Ascending/Descending order). This is widely used in the complex algorithms to decrease the time complexity. There are six types of sorting algorithms namely, Bubble Sort, Insertion Sort, Merge Sort, Quick Sort, Heap Sort and Selection Sort.

Big O notation

Source Code