define selection sorting? explain with example?
Answers
Answered by
1
Explanation:
Selection sort is a simple sorting algorithm. This sorting algorithm is an in-place comparison-based algorithm in which the list is divided into two parts, the sorted part at the left end and the unsorted part at the right end. Initially, the sorted part is empty and the unsorted part is the entire list.
Answered by
2
Answer:
Selection sort is basically a selection of an element position from the start with the other rest of the element. Elements are compared and exchange depending on the condition and the selection position is shifted to the next position till it reaches to the end
Explanation:
I hope this answer is you useful.
Similar questions