Sorting is
any process of arranging items according to a certain sequence or in different
sets, and therefore, it has two common, yet distinct meanings:
Ordering: Arranging items of the same
kind, class or nature, in some ordered sequence.
Categorizing: Grouping and labelling
items with similar properties together.
Types of Sorts
There are
two types of sorts:-
Comparison Sort
Quick Sort, Heap Sort, Insertion Sort, etc…
Non Comparison Sort
Radix Sort, Counting Sort, Bucket Sort, etc...
No comments:
Post a Comment