Sorting algorithm is a way to arrange elements in certain order. Most widely used order are numerical and lexicographical order.
Some commonly used sorting algorithm are:
- Selection Sort
- Bubble Sort
- Insertion Sort
- Merge Sort
- Quick Sort
- Counting Sort
- Radix Sort
- Heap Sort
Short notes on Counting Sort:
- Its running Time Complexity is O(n) with Space Complexity proportional to the range of data.
- It is not comparison based algorithm.
- It uses partial counting to count the occurrence of the data object in O(1).
Note:- Updating.....
Post a Comment