Give example for sorting.
Answers
Answered by
1
Bubble sort is an example of in-place sorting. However, in some sorting algorithms, the program requires space which is more than or equal to the elements being sorted. Sorting which uses equal or more space is called not-in-place sorting. Merge-sort is an example of not-in-place sorting.
Answered by
1
Answer:
Sorting is any process of arranging items systematically, and has two common, yet distinct meanings:
ordering: arranging items in a sequence ordered by some criterion;
categorizing: grouping items with similar properties.
hope it will help you
Similar questions