Sorting algorithm
1. Bubble Sort
2. Insertion Sort
3. Selection Sort
4. Merge Sort
5. Quick Sort
Quick Sort - The partition logic of quick sort is very powerful problem solving tool. there are 2 partition logic
1. Horare's Partition Scheme
2. Lomuto's Partition Scheme , This is used for Kth order statistics, example 3rd Highest or Lowest element in the given list.
Comments
Post a Comment