Skip to content

mihany/sorting-algorithms

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Sorting Alogrithms in Python

Insertion sort

Insertion sort is a simple sorting algorithm that works the way we sort playing cards in our hands.

Selection sort

The selection sort algorithm sorts an array by repeatedly finding the minimum element (considering ascending order) from unsorted part and putting it at the beginning. The algorithm maintains two subarrays in a given array.

Bubble Sort

Bubble Sort is the simplest sorting algorithm that works by repeatedly swapping the adjacent elements if they are in wrong order.

About

Sorting refers to arranging data in a particular format. The sorting algorithm specifies the way to organize data for a specific order. Most standard orders are in numerical or lexicographical order.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors