Skip to content

This repository contains several sorting algorithms and their optimised forms.

Notifications You must be signed in to change notification settings

aneez9n/Sorting-Algorithms

 
 

Repository files navigation

Sorting-Algorithms

This repository contains the following several sorting algorithms and some with their optimised forms as well.

  1. Selection Sort

    The smallest element is selected from the unsorted array and swapped with the leftmost element, and that element becomes a part of the sorted array. This process continues moving unsorted array boundary by one element to the right.

  2. Bubble Sort

    Bubble sort is a basic algorithm for arranging a string of numbers or other elements in the correct order. The method works by examining each set of adjacent elements in the string, from left to right, switching their positions if they are out of order.

  3. Recursive Bubble Sort

    Recursive bubble sort is the sorting algorithm used to arrange a list in a particular form that can be ascending or descending in numerical or lexicographical order using recurrsion technique.

  4. Insertion Sort

    Insertion sort is a sorting algorithm in which the elements are transferred one at a time to the right position. In other words, an insertion sort helps in building the final sorted list, one item at a time, with the movement of higher-ranked elements. An insertion sort has the benefits of simplicity and low overhead.

  5. Recursive Insertion Sort

    Same above insertion sort technique using recursion.

  6. Merge Sort

  7. Iterative Merge Sort

  8. Quick Sort

  9. Iterative Quick Sort

  10. Heap Sort

  11. Counting Sort

  12. Radix Sort

  13. Bucket Sort

  14. Shell Sort

  15. Comb Sort

About

This repository contains several sorting algorithms and their optimised forms.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Jupyter Notebook 100.0%