Searching and sorting Algorithm

There are many searching and sorting algorithms but we will talk about the best algorithm from them.
At first we have quick sort algorithm, in this we divide the list of our data into different different chunks and sort each part as its own and them we combine all these parts. It has less time consuming then others.
Other one is merge sort algorithm, in which we divide list in two parts and then sort them and merge them.
But the good habit is that we have to follow the insertion sort, in which we manage and organize our data during the insertion so that we should not feel difficulty after inserting the data for fetching.

Comments

Popular Posts