Algorithms | Sorting

6 years ago
Anonymous $cyhBy-qkd5

https://medium.com/@Nikah/algorithms-sorting-c270049fc19b

Before we talk about the sorting algorithms we must first understand what algorithms are: Algorithms are a set of rules followed to solve a specific problem. There is always more than one algorithm that can be used to solve a problem. These algorithms have different trade-offs. Knowing which ones are the most efficient and appropriate for the problem at hand is important to make a productive programmer

Sorting algorithms are aimed to rearrange a list of data into a sorted order. Each sorting algorithm has its own advantage and disadvantage. Before choosing an algorithm the complexity of the algorithm should be put into consideration. Algorithmic complexity is basically about how fast or slow particular algorithm performs. The complexity of an algorithm is expressed using The big O notation