⇰ SORTING :-
In our day-to-day life there are many things that we need to search for , like any page in book, phone number in directory, any record in database etc. All these would have been mixed up if these data was kept unordered and unsorted. For this purpose fortunately the concept of sorting is introduced. Sorting makes easier for everyone to arrange any data in an order, hence searching becomes easier. Means sorting arranges data in a sequence or in order which makes searching easier.
∘ Selection Sort.
∘ Bubble Sort..
Click on the type of sorting technique above to get direct link of that technique.
In our day-to-day life there are many things that we need to search for , like any page in book, phone number in directory, any record in database etc. All these would have been mixed up if these data was kept unordered and unsorted. For this purpose fortunately the concept of sorting is introduced. Sorting makes easier for everyone to arrange any data in an order, hence searching becomes easier. Means sorting arranges data in a sequence or in order which makes searching easier.
⇾ After applying the sorting technique, If the contents do not change the sequence of similar content in which they appear, it is called stable sorting technique.
⇾ After applying the sorting technique, if the contents do change the sequence of similar content in which they appear, it is called unstable sorting technique.
⇰ SORTING ORDERS :-
⇾ Basically all sorting techniques sorts the given data in following orders :-
⇾ Basically all sorting techniques sorts the given data in following orders :-
i > Increasing Order :- The order of data is said to be in increasing order, if the successive element is greater than the previous element. For example, 1, 2, 5, 6, 8, 9 are in increasing order, as every next element is greater than the previous element.
ii > Decreasing Order :- The order of data is said to be in decreasing order, if the successive element is less than the current element. For example, 11, 9, 6, 3, 1 are in decreasing order, as every next element is less than the previous element.
⇰ DIFFERENT SORTING TECHNIQUES :-
There are many different types of sorting techniques available. All of them are differentiated by their efficiency. Some of Sorting techniques are as follows which we will discuss in upcoming posts seperately :-
∘ Insertion sort.∘ Selection Sort.
∘ Bubble Sort..
Click on the type of sorting technique above to get direct link of that technique.
Share, Follow and please comment if you find anything incorrect or to share more information about the topic discussed above.
NYC..and thanks..
ReplyDelete