Articles tagged (
sorting
)




Python Sorting
Published 10 Jul 2021

Sorting Methods in Python

39e3be12f579bc6277e2bff68ff7e788.png


Sorting refers to arranging data in a particular format. Sorting algorithm specifies the way to arrange data in a particular order. Most common orders are in numerical or lexicographical order.

The importance of sorting lies in the fact that data searching can be optimized to a very high level, if data is stored in a sorted manner. Sorting is also used to represent data in more readable formats. Below we see five such implementations of sorting in python.

  • Bubble Sort
  • Merge Sort
  • Insertion Sort
  • Shel...

81 views